Skip to the color picker

#042a51 color: Dark Tyrian Blue

#042a51 is rgb(4, 42, 81) in RGB and oklch(28.43% 0.08225 253.213) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

210°
100%

28.4%
0.082
253°
  • Blue
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • sky-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
14.43:1Readable · AA
Lc -104
Black text
1.46: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 #042a51

#042a51 is a soft very dark blue color. In OKLCH it has 28.4% lightness, 0.082 chroma and a hue of 253°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Dark Tyrian Blue (#0d2b52). In Tailwind CSS the closest color is sky-950.

More very dark blue colors

Lighter: #042a51 mixed with white

Darker: #042a51 mixed with black

  1. 000000

Calmer: #042a51 with less saturation

Similar named colors

Colors that go with #042a51

Complementary
Analogous
Triadic
Split

Questions about #042a51

What color is #042a51?

#042a51 is soft very dark blue. The closest named color is Dark Tyrian Blue. In RGB it is rgb(4, 42, 81), in HSL hsl(210.39, 90.59%, 16.67%) and in OKLCH oklch(28.43% 0.08225 253.213).

What colors go well with #042a51?

The complementary color of #042a51 is #412100. For a calmer combination use the analogous colors #003144 and #262251. The triadic partners are #4a141e and #183200.

Is white or black text more readable on #042a51?

White text reads better on #042a51: white gives a contrast ratio of 14.43:1 and black gives 1.46:1. WCAG AA asks for at least 4.5:1 for body text.

Is #042a51 a warm or cool color?

#042a51 is a cool color. In OKLCH its hue is 253 degrees, its lightness 28.4% and its chroma 0.082.