Skip to the color picker

#021a2f color: Oxford by Night

#021a2f is rgb(2, 26, 47) in RGB and oklch(21.18% 0.05181 247.326) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

208°
100%

21.2%
0.052
247°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 82%

Inside sRGB: displays the same on any screen.

White text
17.63:1Readable · AA
Lc -107
Black text
1.19: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 #021a2f

#021a2f is a soft very dark blue color. In OKLCH it has 21.2% lightness, 0.052 chroma and a hue of 247°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Oxford by Night (#001b2e). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #021a2f mixed with white

  1. 021a2f
  2. 172d41
  3. 2e4255
  4. 455768
  5. 5d6d7c
  6. 768491
  7. 909ba6
  8. abb3bc
  9. c6ccd2
  10. e2e5e8

Darker: #021a2f mixed with black

  1. 021a2f
  2. 011527
  3. 011020
  4. 010c19
  5. 000712
  6. 00040c
  7. 000206
  8. 000103
  9. 000001
  10. 000000

Calmer: #021a2f with less saturation

  1. 021a2f
  2. 041a2d
  3. 071a2b
  4. 0a1a28
  5. 0c1a26
  6. 0f1a24
  7. 111a22
  8. 131920
  9. 15191d
  10. 17191b

Questions about #021a2f

What color is #021a2f?

#021a2f is soft very dark blue. The closest named color is Oxford by Night. In RGB it is rgb(2, 26, 47), in HSL hsl(208, 91.84%, 9.61%) and in OKLCH oklch(21.18% 0.05181 247.326).

What colors go well with #021a2f?

The complementary color of #021a2f is #281300. For a calmer combination use the analogous colors #001e28 and #131530. The triadic partners are #2c0d14 and #121d01.

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

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

Is #021a2f a warm or cool color?

#021a2f is a cool color. In OKLCH its hue is 247 degrees, its lightness 21.2% and its chroma 0.052.