#222F4C color
The hex color #222F4C is a dark, desaturated blue.
In the RGB color model it is made of 13.3% red, 18.4% green and 29.8% blue (34, 47, 76).
Its hue angle is 221°, with 38% saturation and 22% lightness. For print, the CMYK equivalent is 55% cyan, 38% magenta, 0% yellow and 70% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.3:1).
#222F4C color codes
| HEX | #222F4C | |
|---|---|---|
| RGB | rgb(34, 47, 76) | |
| RGB percent | rgb(13.3%, 18.4%, 29.8%) | |
| HSL | hsl(221, 38%, 22%) | |
| HSV / HSB | hsv(221, 55%, 30%) | |
| CMYK | cmyk(55%, 38%, 0%, 70%) | |
| CIE LAB | lab(19.62, 4.15, -19.61) | |
| CIE LCH | lch(19.62, 20.04, 281.94) | |
| CIE XYZ | xyz(2.98, 2.895, 7.238) | |
| Decimal | 2240332 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222F4C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #222F4C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.3:1 | Pass | Pass | Pass |
| #222F4C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.3:1 | Pass | Pass | Pass |
| Sample text | 1.58:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #222F4C looks to people with the most common types of color vision deficiency.
#24324dProtanopia
no red cones#1f2e4bDeuteranopia
no green cones#10353aTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #222f4c; }
.text { color: #222f4c; }
.border { border: 2px solid #222f4c; }
.transparent { background-color: rgb(34 47 76 / 50%); }
.gradient { background: linear-gradient(to right, #222f4c, #2a224c); }
Similar colors
#1c2841Eternal Darkness#2b3458Midnight Escapade#2e3858Mediaeval Blue#1d2951Space Cadet#0f2d4dMidnight Ocean#2c2e47Midnight Masquerade#112244Dark Eclipse#21263aMidnight Express
Closest common color name: Oxford Blue.
Questions
- What color is #222F4C?
- #222F4C is a dark, desaturated blue, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #222F4C?
- The RGB value is 34, 47, 76: 34 red, 47 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #222F4C?
- The complementary color is #4C3F22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222F4C?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.3:1. WCAG asks for at least 4.5:1 for normal text.