Skip to the color picker

#031338 color: Infinite Night

#031338 is rgb(3, 19, 56) in RGB and oklch(20.111% 0.07607 262.128) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

222°
100%

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

Inside sRGB: displays the same on any screen.

White text
18.20:1Readable · AA
Lc -107
Black text
1.15: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 #031338

#031338 is a soft very dark blue color. In OKLCH it has 20.1% lightness, 0.076 chroma and a hue of 262°.

Inside sRGB: displays the same on any screen.

White text on it reaches 18.2:1 contrast and black text 1.15: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: #031338 mixed with white

Darker: #031338 mixed with black

  1. 000000

Calmer: #031338 with less saturation

Similar named colors

Colors that go with #031338

Complementary
Analogous
Triadic
Split

Questions about #031338

What color is #031338?

#031338 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(3, 19, 56), in HSL hsl(221.89, 89.83%, 11.57%) and in OKLCH oklch(20.111% 0.07607 262.128).

What colors go well with #031338?

The complementary color of #031338 is #231200. For a calmer combination use the analogous colors #001a2e and #180c35. The triadic partners are #310206 and #001e00.

Is white or black text more readable on #031338?

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

Is #031338 a warm or cool color?

#031338 is a cool color. In OKLCH its hue is 262 degrees, its lightness 20.1% and its chroma 0.076.