Skip to the color picker

#0c1939 color: Naval Night

#0c1939 is rgb(12, 25, 57) in RGB and oklch(22.289% 0.06472 264.97) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

223°
100%

22.3%
0.065
265°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
17.30:1Readable · AA
Lc -106
Black text
1.21:1Hard to read
Lc 0

Shades

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

Harmonies

Open as palette

Recent

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

About #0c1939

#0c1939 is a soft very dark blue color. In OKLCH it has 22.3% lightness, 0.065 chroma and a hue of 265°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Naval Night (#011c39). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #0c1939 mixed with white

  1. 0c1939
  2. 1f2d4b
  3. 34415e
  4. 4b5771
  5. 626d84
  6. 7a8498
  7. 939bac
  8. adb3c0
  9. c8ccd5
  10. e3e5ea

Darker: #0c1939 mixed with black

  1. 0c1939
  2. 091430
  3. 061028
  4. 040b1f
  5. 030717
  6. 020410
  7. 010209
  8. 000104
  9. 000001
  10. 000000

Calmer: #0c1939 with less saturation

  1. 0c1939
  2. 0e1a36
  3. 0f1a33
  4. 111a30
  5. 121b2d
  6. 141b2a
  7. 151b28
  8. 171b25
  9. 181b21
  10. 1a1b1e

Questions about #0c1939

What color is #0c1939?

#0c1939 is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(12, 25, 57), in HSL hsl(222.67, 65.22%, 13.53%) and in OKLCH oklch(22.289% 0.06472 264.97).

What colors go well with #0c1939?

The complementary color of #0c1939 is #291800. For a calmer combination use the analogous colors #001f35 and #1e1336. The triadic partners are #340c0b and #032306.

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

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

Is #0c1939 a warm or cool color?

#0c1939 is a cool color. In OKLCH its hue is 265 degrees, its lightness 22.3% and its chroma 0.065.