Skip to the color picker

#0c315d color: Ambassador Blue

#0c315d is rgb(12, 49, 93) in RGB and oklch(31.433% 0.08869 255.34) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

213°
100%

31.4%
0.089
255°
  • Blue
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Midnight blue
  • sky-950
  • Black 64%

Inside sRGB: displays the same on any screen.

White text
13.02:1Readable · AA
Lc -102
Black text
1.61:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #0c315d

#0c315d is a deep dark blue color. In OKLCH it has 31.4% lightness, 0.089 chroma and a hue of 255°.

Inside sRGB: displays the same on any screen.

White text on it reaches 13.02:1 contrast and black text 1.61:1, so white text reads better.

The closest named color is Ambassador Blue (#0d2f5a). In Tailwind CSS the closest color is sky-950.

More dark blue colors

Lighter: #0c315d mixed with white

Darker: #0c315d mixed with black

  1. 000000

Calmer: #0c315d with less saturation

Similar named colors

Colors that go with #0c315d

Complementary
Analogous
Triadic
Split

Questions about #0c315d

What color is #0c315d?

#0c315d is deep dark blue. The closest named color is Ambassador Blue. In RGB it is rgb(12, 49, 93), in HSL hsl(212.59, 77.14%, 20.59%) and in OKLCH oklch(31.433% 0.08869 255.34).

What colors go well with #0c315d?

The complementary color of #0c315d is #4a2900. For a calmer combination use the analogous colors #003950 and #2e285c. The triadic partners are #551a22 and #1b3b03.

Is white or black text more readable on #0c315d?

White text reads better on #0c315d: white gives a contrast ratio of 13.02:1 and black gives 1.61:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0c315d a warm or cool color?

#0c315d is a cool color. In OKLCH its hue is 255 degrees, its lightness 31.4% and its chroma 0.089.