Skip to the color picker

#2a4286 color: Official Violet

#2a4286 is rgb(42, 66, 134) in RGB and oklch(39.91% 0.11759 266.487) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

39.9%
0.118
266°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
9.45:1Readable · AA
Lc -96
Black text
2.22: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 #2a4286

#2a4286 is a soft dark blue color. In OKLCH it has 39.9% lightness, 0.118 chroma and a hue of 266°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.45:1 contrast and black text 2.22: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: #2a4286 mixed with white

  1. 2a4286
  2. 3c5493
  3. 50669f
  4. 6479ab
  5. 788bb8
  6. 8d9ec4
  7. a3b1d0
  8. b9c4dc
  9. d0d7e8
  10. e7ebf3

Darker: #2a4286 mixed with black

  1. 2a4286
  2. 233874
  3. 1c2f62
  4. 162551
  5. 101c40
  6. 0a1430
  7. 050b21
  8. 020513
  9. 010106
  10. 000001

Calmer: #2a4286 with less saturation

  1. 2a4286
  2. 2d4380
  3. 30447a
  4. 334574
  5. 36466e
  6. 394667
  7. 3c4761
  8. 3f475b
  9. 424755
  10. 44474e

Questions about #2a4286

What color is #2a4286?

#2a4286 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 134), in HSL hsl(224.35, 52.27%, 34.51%) and in OKLCH oklch(39.91% 0.11759 266.487).

What colors go well with #2a4286?

The complementary color of #2a4286 is #5f4200. For a calmer combination use the analogous colors #004e7b and #4f367e. The triadic partners are #7a2723 and #04571b.

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

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

Is #2a4286 a warm or cool color?

#2a4286 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.9% and its chroma 0.118.