Skip to the color picker

#021f39 color: Naval Night

#021f39 is rgb(2, 31, 57) in RGB and oklch(23.422% 0.06093 249.037) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

208°
100%

23.4%
0.061
249°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
16.70:1Readable · AA
Lc -106
Black text
1.26: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 #021f39

#021f39 is a soft very dark blue color. In OKLCH it has 23.4% lightness, 0.061 chroma and a hue of 249°.

Inside sRGB: displays the same on any screen.

White text on it reaches 16.7:1 contrast and black text 1.26: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: #021f39 mixed with white

  1. 021f39
  2. 19324b
  3. 2f475d
  4. 475b70
  5. 5f7184
  6. 788797
  7. 919eab
  8. acb6c0
  9. c7ced5
  10. e3e6ea

Darker: #021f39 mixed with black

  1. 021f39
  2. 011930
  3. 011428
  4. 010f1f
  5. 000a17
  6. 000610
  7. 000309
  8. 000104
  9. 000001
  10. 000000

Calmer: #021f39 with less saturation

  1. 021f39
  2. 051f36
  3. 091f34
  4. 0c1f31
  5. 101f2e
  6. 121f2c
  7. 151f29
  8. 171f26
  9. 1a1e24
  10. 1c1e21

Questions about #021f39

What color is #021f39?

#021f39 is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(2, 31, 57), in HSL hsl(208.36, 93.22%, 11.57%) and in OKLCH oklch(23.422% 0.06093 249.037).

What colors go well with #021f39?

The complementary color of #021f39 is #301700. For a calmer combination use the analogous colors #002431 and #181a3a. The triadic partners are #350f18 and #152301.

Is white or black text more readable on #021f39?

White text reads better on #021f39: white gives a contrast ratio of 16.7:1 and black gives 1.26:1. WCAG AA asks for at least 4.5:1 for body text.

Is #021f39 a warm or cool color?

#021f39 is a cool color. In OKLCH its hue is 249 degrees, its lightness 23.4% and its chroma 0.061.