About #0022FF
#0022FF is a medium, vivid blue with a hue angle of 232°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) 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.
- It can be written in 3-digit shorthand as
#02f.
Color conversions
| HEX | #0022FF |
|---|---|
| Short HEX | #02F |
| RGB | rgb(0, 34, 255) |
| RGB percent | rgb(0%, 13.3%, 100%) |
| HSL | hsl(232, 100%, 50%) |
| HSV / HSB | hsv(232, 100%, 100%) |
| CMYK | cmyk(100%, 87%, 0%, 0%) |
| CIELAB (D65) | lab(34.7 71.7 -103.8) |
| Decimal | 8959 |
| Binary | 00000000 00100010 11111111 |
HEX 00 22 FF → 0, 34, 255 (each pair is a base-16 number: 0×16 + 0 = 0)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #0022FF
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #0022FF | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 7.86:1 | Pass | Pass | Pass | Pass |
| Black text | 2.67:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0836 (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#005eff
Deuteranopia#0044fc
Tritanopia#007098
Achromatopsia#525252
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 6.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
| Name | HEX | ΔE 2000 |
|---|---|---|
| blue | #0000ff | 2.7 |
| mediumblue | #0000cd | 8.1 |
| blueviolet | #8a2be2 | 11.3 |
| darkviolet | #9400d3 | 12.9 |
Nearby colors
CSS
.element {
color: #0022ff;
background-color: rgb(0, 34, 255);
border: 1px solid hsl(232, 100%, 50%);
box-shadow: 0 2px 8px rgb(0 34 255 / 50%);
}
:root { --brand: #0022ff; }