Skip to the color picker

#0c173a color: Liberty Blue

#0c173a is rgb(12, 23, 58) in RGB and oklch(21.866% 0.0695 267.277) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

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

Inside sRGB: displays the same on any screen.

White text
17.51: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 #0c173a

#0c173a is a soft very dark blue color. In OKLCH it has 21.9% lightness, 0.07 chroma and a hue of 267°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Liberty Blue (#0e1531). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #0c173a mixed with white

Darker: #0c173a mixed with black

  1. 000000

Calmer: #0c173a with less saturation

Similar named colors

Colors that go with #0c173a

Complementary
Analogous
Triadic
Split

Questions about #0c173a

What color is #0c173a?

#0c173a is soft very dark blue. The closest named color is Liberty Blue. In RGB it is rgb(12, 23, 58), in HSL hsl(225.65, 65.71%, 13.73%) and in OKLCH oklch(21.866% 0.0695 267.277).

What colors go well with #0c173a?

The complementary color of #0c173a is #271700. For a calmer combination use the analogous colors #001d36 and #1e1136. The triadic partners are #340907 and #002205.

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

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

Is #0c173a a warm or cool color?

#0c173a is a cool color. In OKLCH its hue is 267 degrees, its lightness 21.9% and its chroma 0.07.