#222288 color

#222288 is rgb(34, 34, 136) in RGB and hsl(240, 60%, 33%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 4.1). Use white text on it (contrast 12.71:1).

#222288indigo
HEX#222288
Short HEX#228
RGBrgb(34, 34, 136)
RGB percentrgb(13.3%, 13.3%, 53.3%)
HSLhsl(240, 60%, 33%)
HSV / HSBhsv(240, 75%, 53%)
CMYKcmyk(75%, 75%, 0%, 47%)

Edit in the color converter → · Check contrast → · Shades →

About #222288

#222288 is a medium-dark, saturated indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 136 (53%) and red the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#222288
Short HEX#228
RGBrgb(34, 34, 136)
RGB percentrgb(13.3%, 13.3%, 53.3%)
HSLhsl(240, 60%, 33%)
HSV / HSBhsv(240, 75%, 53%)
CMYKcmyk(75%, 75%, 0%, 47%)
CIELAB (D65)lab(21.1 35.7 -56.3)
Decimal2237064
Binary00100010 00100010 10001000

HEX 22 22 88 → 34, 34, 136 (each pair is a base-16 number: 2×16 + 2 = 34)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #222288

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #222288RatioAA normalAA largeAAA normalAAA large
White text12.71:1PassPassPassPass
Black text1.65:1FailFailFailFail
White text on #222288
Black text on #222288
#222288 text on white
#222288 text on black

Relative luminance is 0.0326 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#00378b

Deuteranopia
#002e86

Tritanopia
#003f53

Achromatopsia
#333333

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
midnightblue#1919704.1
darkblue#00008b6.2
navy#0000806.6
indigo#4b00828.4

Nearby colors

CSS

.element {
  color: #222288;
  background-color: rgb(34, 34, 136);
  border: 1px solid hsl(240, 60%, 33%);
  box-shadow: 0 2px 8px rgb(34 34 136 / 50%);
}
:root { --brand: #222288; }

Frequently asked questions

What color is #222288?
A medium-dark saturated indigo in the blue family. Closest CSS name: midnightblue.
What is #222288 in RGB?
rgb(34, 34, 136): red 34, green 34, blue 136.
What is the complementary color of #222288?
#888822, found by rotating the hue 180°.