Skip to the color picker

#0c315b color: Ambassador Blue

#0c315b is rgb(12, 49, 91) in RGB and oklch(31.281% 0.08569 254.489) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

212°
100%

31.3%
0.086
254°
  • Blue
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Midnight blue
  • sky-950
  • Black 64%

Inside sRGB: displays the same on any screen.

White text
13.08: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 #0c315b

#0c315b is a deep dark blue color. In OKLCH it has 31.3% lightness, 0.086 chroma and a hue of 254°.

Inside sRGB: displays the same on any screen.

White text on it reaches 13.08: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: #0c315b mixed with white

Darker: #0c315b mixed with black

  1. 000000

Calmer: #0c315b with less saturation

Similar named colors

Colors that go with #0c315b

Complementary
Analogous
Triadic
Split

Questions about #0c315b

What color is #0c315b?

#0c315b is deep dark blue. The closest named color is Ambassador Blue. In RGB it is rgb(12, 49, 91), in HSL hsl(211.9, 76.7%, 20.2%) and in OKLCH oklch(31.281% 0.08569 254.489).

What colors go well with #0c315b?

The complementary color of #0c315b is #4a2800. For a calmer combination use the analogous colors #00384f and #2d295a. The triadic partners are #541a23 and #1d3a04.

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

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

Is #0c315b a warm or cool color?

#0c315b is a cool color. In OKLCH its hue is 254 degrees, its lightness 31.3% and its chroma 0.086.