Skip to the color picker

#0d172a color: Liberty Blue

#0d172a is rgb(13, 23, 42) in RGB and oklch(20.616% 0.04083 262.318) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

219°
100%

20.6%
0.041
262°
  • Blue
  • Very dark
  • Muted
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 84%

Inside sRGB: displays the same on any screen.

White text
17.90:1Readable · AA
Lc -107
Black text
1.17: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 #0d172a

#0d172a is a muted very dark blue color. In OKLCH it has 20.6% lightness, 0.041 chroma and a hue of 262°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.9:1 contrast and black text 1.17: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: #0d172a mixed with white

Darker: #0d172a mixed with black

  1. 000000

Calmer: #0d172a with less saturation

Similar named colors

Colors that go with #0d172a

Complementary
Analogous
Triadic
Split

Questions about #0d172a

What color is #0d172a?

#0d172a is muted very dark blue. The closest named color is Liberty Blue. In RGB it is rgb(13, 23, 42), in HSL hsl(219.31, 52.73%, 10.78%) and in OKLCH oklch(20.616% 0.04083 262.318).

What colors go well with #0d172a?

The complementary color of #0d172a is #211501. For a calmer combination use the analogous colors #011a27 and #181428. The triadic partners are #270f0f and #0c1c0a.

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

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

Is #0d172a a warm or cool color?

#0d172a is a cool color. In OKLCH its hue is 262 degrees, its lightness 20.6% and its chroma 0.041.