Skip to the color picker

#2e407f color: Mazarine Blue

#2e407f is rgb(46, 64, 127) in RGB and oklch(39.179% 0.10844 268.963) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

227°
100%

39.2%
0.108
269°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
9.74:1Readable · AA
Lc -97
Black text
2.16: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 #2e407f

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

Inside sRGB: displays the same on any screen.

White text on it reaches 9.74:1 contrast and black text 2.16: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: #2e407f mixed with white

  1. 2e407f
  2. 40528c
  3. 536499
  4. 6677a6
  5. 7a89b3
  6. 8f9cc0
  7. a5b0cc
  8. bac3d9
  9. d1d7e6
  10. e8ebf2

Darker: #2e407f mixed with black

  1. 2e407f
  2. 27366e
  3. 1f2d5d
  4. 18244c
  5. 121b3c
  6. 0b132d
  7. 060b1f
  8. 020511
  9. 010106
  10. 000001

Calmer: #2e407f with less saturation

  1. 2e407f
  2. 304179
  3. 324274
  4. 35436e
  5. 374469
  6. 394463
  7. 3c455d
  8. 3e4557
  9. 414552
  10. 43454c

Questions about #2e407f

What color is #2e407f?

#2e407f is soft dark blue. The closest named color is Mazarine Blue. In RGB it is rgb(46, 64, 127), in HSL hsl(226.67, 46.82%, 33.92%) and in OKLCH oklch(39.179% 0.10844 268.963).

What colors go well with #2e407f?

The complementary color of #2e407f is #5b4100. For a calmer combination use the analogous colors #004b78 and #4e3577. The triadic partners are #752921 and #045522.

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

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

Is #2e407f a warm or cool color?

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