Skip to the color picker

#0c1a3a color: Naval Night

#0c1a3a is rgb(12, 26, 58) in RGB and oklch(22.635% 0.06491 264.127) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

22.6%
0.065
264°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 77%

Inside sRGB: displays the same on any screen.

White text
17.15:1Readable · AA
Lc -106
Black text
1.22: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 #0c1a3a

#0c1a3a is a soft very dark blue color. In OKLCH it has 22.6% lightness, 0.065 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.15:1 contrast and black text 1.22: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: #0c1a3a mixed with white

Darker: #0c1a3a mixed with black

  1. 000000

Calmer: #0c1a3a with less saturation

Similar named colors

Colors that go with #0c1a3a

Complementary
Analogous
Triadic
Split

Questions about #0c1a3a

What color is #0c1a3a?

#0c1a3a is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(12, 26, 58), in HSL hsl(221.74, 65.71%, 13.73%) and in OKLCH oklch(22.635% 0.06491 264.127).

What colors go well with #0c1a3a?

The complementary color of #0c1a3a is #2a1800. For a calmer combination use the analogous colors #002035 and #1e1437. The triadic partners are #350c0c and #042306.

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

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

Is #0c1a3a a warm or cool color?

#0c1a3a is a cool color. In OKLCH its hue is 264 degrees, its lightness 22.6% and its chroma 0.065.