Skip to the color picker

#0c173b color: Navy

#0c173b is rgb(12, 23, 59) in RGB and oklch(21.958% 0.0712 267.429) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

22%
0.071
267°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 77%

Inside sRGB: displays the same on any screen.

White text
17.48:1Readable · AA
Lc -106
Black text
1.20: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 #0c173b

#0c173b is a soft very dark blue color. In OKLCH it has 22% lightness, 0.071 chroma and a hue of 267°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Navy (#01153e). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #0c173b mixed with white

Darker: #0c173b mixed with black

  1. 000000

Calmer: #0c173b with less saturation

Similar named colors

Colors that go with #0c173b

Complementary
Analogous
Triadic
Split

Questions about #0c173b

What color is #0c173b?

#0c173b is soft very dark blue. The closest named color is Navy. In RGB it is rgb(12, 23, 59), in HSL hsl(225.96, 66.2%, 13.92%) and in OKLCH oklch(21.958% 0.0712 267.429).

What colors go well with #0c173b?

The complementary color of #0c173b is #271700. For a calmer combination use the analogous colors #001d37 and #1f1137. The triadic partners are #350806 and #002304.

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

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

Is #0c173b a warm or cool color?

#0c173b is a cool color. In OKLCH its hue is 267 degrees, its lightness 22% and its chroma 0.071.