Skip to the color picker

#021a34 color: Naval Night

#021a34 is rgb(2, 26, 52) in RGB and oklch(21.58% 0.05973 252.043) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

211°
100%

21.6%
0.060
252°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 80%

Inside sRGB: displays the same on any screen.

White text
17.50: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

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #021a34

#021a34 is a soft very dark blue color. In OKLCH it has 21.6% lightness, 0.06 chroma and a hue of 252°.

Inside sRGB: displays the same on any screen.

White text on it reaches 17.5:1 contrast and black text 1.2: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: #021a34 mixed with white

  1. 021a34
  2. 172e46
  3. 2e4259
  4. 45576d
  5. 5d6d80
  6. 768494
  7. 909ca9
  8. abb4be
  9. c6ccd3
  10. e2e5e9

Darker: #021a34 mixed with black

  1. 021a34
  2. 01152c
  3. 011024
  4. 010c1c
  5. 000715
  6. 00040e
  7. 000207
  8. 000103
  9. 000001
  10. 000000

Calmer: #021a34 with less saturation

  1. 021a34
  2. 051a31
  3. 071a2f
  4. 0a1a2c
  5. 0d1a2a
  6. 0f1a27
  7. 111a24
  8. 141a22
  9. 161a1f
  10. 181a1c

Questions about #021a34

What color is #021a34?

#021a34 is soft very dark blue. The closest named color is Naval Night. In RGB it is rgb(2, 26, 52), in HSL hsl(211.2, 92.59%, 10.59%) and in OKLCH oklch(21.58% 0.05973 252.043).

What colors go well with #021a34?

The complementary color of #021a34 is #2a1400. For a calmer combination use the analogous colors #001f2d and #161534. The triadic partners are #300b12 and #0f1f00.

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

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

Is #021a34 a warm or cool color?

#021a34 is a cool color. In OKLCH its hue is 252 degrees, its lightness 21.6% and its chroma 0.06.