Skip to the color picker

#2f407b color: Mazarine Blue

#2f407b is rgb(47, 64, 123) in RGB and oklch(38.953% 0.102 269.166) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

227°
100%

39%
0.102
269°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Charcoal
  • blue-900
  • Black 52%

Inside sRGB: displays the same on any screen.

White text
9.81:1Readable · AA
Lc -97
Black text
2.14: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 #2f407b

#2f407b is a soft dark blue color. In OKLCH it has 39% lightness, 0.102 chroma and a hue of 269°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.81:1 contrast and black text 2.14: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: #2f407b mixed with white

Darker: #2f407b mixed with black

Calmer: #2f407b with less saturation

Similar named colors

Colors that go with #2f407b

Complementary
Analogous
Triadic
Split

Questions about #2f407b

What color is #2f407b?

#2f407b is soft dark blue. The closest named color is Mazarine Blue. In RGB it is rgb(47, 64, 123), in HSL hsl(226.58, 44.71%, 33.33%) and in OKLCH oklch(38.953% 0.102 269.166).

What colors go well with #2f407b?

The complementary color of #2f407b is #5a4100. For a calmer combination use the analogous colors #004a75 and #4d3673. The triadic partners are #722b23 and #0c5324.

Is white or black text more readable on #2f407b?

White text reads better on #2f407b: white gives a contrast ratio of 9.81:1 and black gives 2.14:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2f407b a warm or cool color?

#2f407b is a cool color. In OKLCH its hue is 269 degrees, its lightness 39% and its chroma 0.102.