Skip to the color picker

#2f427e color: Official Violet

#2f427e is rgb(47, 66, 126) in RGB and oklch(39.616% 0.10384 268.192) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

39.6%
0.104
268°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.54:1Readable · AA
Lc -96
Black text
2.20: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 #2f427e

#2f427e is a soft dark blue color. In OKLCH it has 39.6% lightness, 0.104 chroma and a hue of 268°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.

More dark blue colors

Lighter: #2f427e mixed with white

  1. 2f427e
  2. 41548b
  3. 546698
  4. 6778a5
  5. 7b8bb2
  6. 909dbf
  7. a5b0cc
  8. bbc4d9
  9. d1d7e5
  10. e8ebf2

Darker: #2f427e mixed with black

  1. 2f427e
  2. 27386d
  3. 202f5c
  4. 19254c
  5. 121c3c
  6. 0c142d
  7. 060b1f
  8. 030511
  9. 010105
  10. 000001

Calmer: #2f427e with less saturation

  1. 2f427e
  2. 314379
  3. 344473
  4. 36456e
  5. 384568
  6. 3b4663
  7. 3d465d
  8. 3f4658
  9. 424652
  10. 44474c

Questions about #2f427e

What color is #2f427e?

#2f427e is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 66, 126), in HSL hsl(225.57, 45.66%, 33.92%) and in OKLCH oklch(39.616% 0.10384 268.192).

What colors go well with #2f427e?

The complementary color of #2f427e is #5d4200. For a calmer combination use the analogous colors #004c77 and #4e3876. The triadic partners are #742c25 and #105524.

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

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

Is #2f427e a warm or cool color?

#2f427e is a cool color. In OKLCH its hue is 268 degrees, its lightness 39.6% and its chroma 0.104.