#0022EE color

#0022EE is rgb(0, 34, 238) in RGB and hsl(231, 100%, 47%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 2.7). Use white text on it (contrast 8.52:1).

#0022EEblue
HEX#0022EE
Short HEX#02E
RGBrgb(0, 34, 238)
RGB percentrgb(0%, 13.3%, 93.3%)
HSLhsl(231, 100%, 47%)
HSV / HSBhsv(231, 100%, 93%)
CMYKcmyk(100%, 86%, 0%, 7%)

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

About #0022EE

#0022EE is a medium, vivid blue with a hue angle of 231°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 238 (93%) and red the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#0022EE
Short HEX#02E
RGBrgb(0, 34, 238)
RGB percentrgb(0%, 13.3%, 93.3%)
HSLhsl(231, 100%, 47%)
HSV / HSBhsv(231, 100%, 93%)
CMYKcmyk(100%, 86%, 0%, 7%)
CIELAB (D65)lab(32.5 67 -97.9)
Decimal8942
Binary00000000 00100010 11101110

HEX 00 22 EE → 0, 34, 238 (each pair is a base-16 number: 0×16 + 0 = 0)

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 #0022EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #0022EERatioAA normalAA largeAAA normalAAA large
White text8.52:1PassPassPassPass
Black text2.46:1FailFailFailFail
White text on #0022EE
Black text on #0022EE
#0022EE text on white
#0022EE text on black

Relative luminance is 0.0732 (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
#0058f3

Deuteranopia
#0040eb

Tritanopia
#00698e

Achromatopsia
#4c4c4c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.9). 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
blue#0000ff2.7
mediumblue#0000cd6.2
blueviolet#8a2be212.1
darkviolet#9400d313.3

Nearby colors

CSS

.element {
  color: #0022ee;
  background-color: rgb(0, 34, 238);
  border: 1px solid hsl(231, 100%, 47%);
  box-shadow: 0 2px 8px rgb(0 34 238 / 50%);
}
:root { --brand: #0022ee; }

Frequently asked questions

What color is #0022EE?
A medium vivid blue in the blue family. Closest CSS name: blue.
What is #0022EE in RGB?
rgb(0, 34, 238): red 0, green 34, blue 238.
What is the complementary color of #0022EE?
#EECC00, found by rotating the hue 180°.