Skip to the color picker

#04123a color: Infinite Night

#04123a is rgb(4, 18, 58) in RGB and oklch(20.141% 0.08032 264.132) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

20.1%
0.080
264°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 77%

Inside sRGB: displays the same on any screen.

White text
18.22: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 #04123a

#04123a is a soft very dark blue color. In OKLCH it has 20.1% lightness, 0.08 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

White text on it reaches 18.22: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: #04123a mixed with white

Darker: #04123a mixed with black

  1. 000000

Calmer: #04123a with less saturation

Similar named colors

Colors that go with #04123a

Complementary
Analogous
Triadic
Split

Questions about #04123a

What color is #04123a?

#04123a is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(4, 18, 58), in HSL hsl(224.44, 87.1%, 12.16%) and in OKLCH oklch(20.141% 0.08032 264.132).

What colors go well with #04123a?

The complementary color of #04123a is #231300. For a calmer combination use the analogous colors #001a30 and #1a0a36. The triadic partners are #320003 and #001f00.

Is white or black text more readable on #04123a?

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

Is #04123a a warm or cool color?

#04123a is a cool color. In OKLCH its hue is 264 degrees, its lightness 20.1% and its chroma 0.08.