Skip to the color picker

#1a2770 color: Midnight Crest

#1a2770 is rgb(26, 39, 112) in RGB and oklch(31.39% 0.12644 269.679) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

31.4%
0.126
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 56%

Inside sRGB: displays the same on any screen.

White text
13.39:1Readable · AA
Lc -103
Black text
1.57: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 #1a2770

#1a2770 is a soft dark blue color. In OKLCH it has 31.4% lightness, 0.126 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Midnight Crest (#112473). In Tailwind CSS the closest color is blue-950.

More dark blue colors

Lighter: #1a2770 mixed with white

Darker: #1a2770 mixed with black

Calmer: #1a2770 with less saturation

Similar named colors

Colors that go with #1a2770

Complementary
Analogous
Triadic
Split

Questions about #1a2770

What color is #1a2770?

#1a2770 is soft dark blue. The closest named color is Midnight Crest. In RGB it is rgb(26, 39, 112), in HSL hsl(230.93, 62.32%, 27.06%) and in OKLCH oklch(31.39% 0.12644 269.679).

What colors go well with #1a2770?

The complementary color of #1a2770 is #422e00. For a calmer combination use the analogous colors #00355d and #3c1a66. The triadic partners are #620200 and #004006.

Is white or black text more readable on #1a2770?

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

Is #1a2770 a warm or cool color?

#1a2770 is a cool color. In OKLCH its hue is 270 degrees, its lightness 31.4% and its chroma 0.126.