Skip to the color picker

#2f417c color: Mazarine Blue

#2f417c is rgb(47, 65, 124) in RGB and oklch(39.249% 0.10215 268.616) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

39.2%
0.102
269°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.69:1Readable · AA
Lc -96
Black text
2.17:1Hard to read
Lc 12

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #2f417c

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

Inside sRGB: displays the same on any screen.

White text on it reaches 9.69:1 contrast and black text 2.17: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: #2f417c mixed with white

  1. 2f417c
  2. 415389
  3. 546597
  4. 6777a4
  5. 7b8ab1
  6. 909dbe
  7. a5b0cb
  8. bbc3d8
  9. d1d7e5
  10. e8ebf2

Darker: #2f417c mixed with black

  1. 2f417c
  2. 27376b
  3. 202e5a
  4. 19254a
  5. 121c3b
  6. 0c132c
  7. 060b1e
  8. 030511
  9. 010105
  10. 000001

Calmer: #2f417c with less saturation

  1. 2f417c
  2. 314277
  3. 334371
  4. 36446c
  5. 384467
  6. 3a4561
  7. 3c455c
  8. 3f4557
  9. 414551
  10. 43464b

Questions about #2f417c

What color is #2f417c?

#2f417c is soft dark blue. The closest named color is Mazarine Blue. In RGB it is rgb(47, 65, 124), in HSL hsl(225.97, 45.03%, 33.53%) and in OKLCH oklch(39.249% 0.10215 268.616).

What colors go well with #2f417c?

The complementary color of #2f417c is #5b4100. For a calmer combination use the analogous colors #004b76 and #4e3774. The triadic partners are #732c24 and #0f5424.

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

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

Is #2f417c a warm or cool color?

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