Skip to the color picker

#021138 color: Infinite Night

#021138 is rgb(2, 17, 56) in RGB and oklch(19.544% 0.07962 262.443) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

223°
100%

19.5%
0.080
262°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 78%

Inside sRGB: displays the same on any screen.

White text
18.42:1Readable · AA
Lc -107
Black text
1.14: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 #021138

#021138 is a soft very dark blue color. In OKLCH it has 19.5% lightness, 0.08 chroma and a hue of 262°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.

More very dark blue colors

Lighter: #021138 mixed with white

Darker: #021138 mixed with black

  1. 000000

Calmer: #021138 with less saturation

Similar named colors

Colors that go with #021138

Complementary
Analogous
Triadic
Split

Questions about #021138

What color is #021138?

#021138 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(2, 17, 56), in HSL hsl(223.33, 93.1%, 11.37%) and in OKLCH oklch(19.544% 0.07962 262.443).

What colors go well with #021138?

The complementary color of #021138 is #221100. For a calmer combination use the analogous colors #00182d and #180935. The triadic partners are #300004 and #001d00.

Is white or black text more readable on #021138?

White text reads better on #021138: white gives a contrast ratio of 18.42:1 and black gives 1.14:1. WCAG AA asks for at least 4.5:1 for body text.

Is #021138 a warm or cool color?

#021138 is a cool color. In OKLCH its hue is 262 degrees, its lightness 19.5% and its chroma 0.08.