Skip to the color picker

#0c315c color: Ambassador Blue

#0c315c is rgb(12, 49, 92) in RGB and oklch(31.356% 0.08719 254.925) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

212°
100%

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

Inside sRGB: displays the same on any screen.

White text
13.05: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 #0c315c

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

Inside sRGB: displays the same on any screen.

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

Darker: #0c315c mixed with black

  1. 000000

Calmer: #0c315c with less saturation

Similar named colors

Colors that go with #0c315c

Complementary
Analogous
Triadic
Split

Questions about #0c315c

What color is #0c315c?

#0c315c is deep dark blue. The closest named color is Ambassador Blue. In RGB it is rgb(12, 49, 92), in HSL hsl(212.25, 76.92%, 20.39%) and in OKLCH oklch(31.356% 0.08719 254.925).

What colors go well with #0c315c?

The complementary color of #0c315c is #4a2900. For a calmer combination use the analogous colors #003850 and #2e295b. The triadic partners are #551a23 and #1c3a04.

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

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

Is #0c315c a warm or cool color?

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