Skip to the color picker

#2f51a5 color: Dazzling Blue

#2f51a5 is rgb(47, 81, 165) in RGB and oklch(45.757% 0.14132 264.784) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

223°
100%

45.8%
0.141
265°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Sapphire
  • sky-800
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
7.39:1Readable · AA
Lc -90
Black text
2.84:1Hard to read
Lc 19

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 #2f51a5

#2f51a5 is a soft dark blue color. In OKLCH it has 45.8% lightness, 0.141 chroma and a hue of 265°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Dazzling Blue (#3850a0). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #2f51a5 mixed with white

Darker: #2f51a5 mixed with black

Calmer: #2f51a5 with less saturation

Similar named colors

Colors that go with #2f51a5

Complementary
Analogous
Triadic
Split

Questions about #2f51a5

What color is #2f51a5?

#2f51a5 is soft dark blue. The closest named color is Dazzling Blue. In RGB it is rgb(47, 81, 165), in HSL hsl(222.71, 55.66%, 41.57%) and in OKLCH oklch(45.757% 0.14132 264.784).

What colors go well with #2f51a5?

The complementary color of #2f51a5 is #745000. For a calmer combination use the analogous colors #006090 and #5f429c. The triadic partners are #962d2c and #076a1a.

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

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

Is #2f51a5 a warm or cool color?

#2f51a5 is a cool color. In OKLCH its hue is 265 degrees, its lightness 45.8% and its chroma 0.141.