#222839 color
The hex color #222839 is a very dark, desaturated blue.
In the RGB color model it is made of 13.3% red, 15.7% green and 22.4% blue (34, 40, 57).
Its hue angle is 224°, with 25% saturation and 18% lightness. For print, the CMYK equivalent is 40% cyan, 30% magenta, 0% yellow and 78% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.68:1).
#222839 color codes
| HEX | #222839 | |
|---|---|---|
| RGB | rgb(34, 40, 57) | |
| RGB percent | rgb(13.3%, 15.7%, 22.4%) | |
| HSL | hsl(224, 25%, 18%) | |
| HSV / HSB | hsv(224, 40%, 22%) | |
| CMYK | cmyk(40%, 30%, 0%, 78%) | |
| CIE LAB | lab(16.27, 2.46, -11.79) | |
| CIE LCH | lch(16.27, 12.04, 281.78) | |
| CIE XYZ | xyz(2.157, 2.153, 4.172) | |
| Decimal | 2238521 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222839, 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 #222839 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.68:1 | Pass | Pass | Pass |
| #222839 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.68:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #222839 looks to people with the most common types of color vision deficiency.
#22293aProtanopia
no red cones#202739Deuteranopia
no green cones#1b2b2eTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #222839; }
.text { color: #222839; }
.border { border: 2px solid #222839; }
.transparent { background-color: rgb(34 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #222839, #272239); }
Similar colors
#1e2433Moonless Mystery#21263aMidnight Express#1f2133Eclipse Elixir#1c2841Eternal Darkness#1b2431Dark#222233Black Velvet#161e34Sombre Night#303543Total Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #222839?
- #222839 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the gray family of colors.
- What is the RGB value of #222839?
- The RGB value is 34, 40, 57: 34 red, 40 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #222839?
- The complementary color is #393322, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222839?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.68:1. WCAG asks for at least 4.5:1 for normal text.