Skip to the color picker

#1f417d color: Mazarine Blue

#1f417d is rgb(31, 65, 125) in RGB and oklch(38.472% 0.10937 260.812) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

218°
100%

38.5%
0.109
261°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.95:1Readable · AA
Lc -97
Black text
2.11:1Hard to read
Lc 11

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 #1f417d

#1f417d is a soft dark blue color. In OKLCH it has 38.5% lightness, 0.109 chroma and a hue of 261°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Mazarine Blue (#2a407e). In Tailwind CSS the closest color is blue-900.

More dark blue colors

Lighter: #1f417d mixed with white

Darker: #1f417d mixed with black

Calmer: #1f417d with less saturation

Similar named colors

Colors that go with #1f417d

Complementary
Analogous
Triadic
Split

Questions about #1f417d

What color is #1f417d?

#1f417d is soft dark blue. The closest named color is Mazarine Blue. In RGB it is rgb(31, 65, 125), in HSL hsl(218.3, 60.26%, 30.59%) and in OKLCH oklch(38.472% 0.10937 260.812).

What colors go well with #1f417d?

The complementary color of #1f417d is #5e3c00. For a calmer combination use the analogous colors #004b6f and #453679. The triadic partners are #732529 and #1b5112.

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

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

Is #1f417d a warm or cool color?

#1f417d is a cool color. In OKLCH its hue is 261 degrees, its lightness 38.5% and its chroma 0.109.