#22283B color
The hex color #22283B is a very dark, desaturated blue.
In the RGB color model it is made of 13.3% red, 15.7% green and 23.1% blue (34, 40, 59).
Its hue angle is 226°, with 27% saturation and 18% lightness. For print, the CMYK equivalent is 42% cyan, 32% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.64:1).
#22283B color codes
| HEX | #22283B | |
|---|---|---|
| RGB | rgb(34, 40, 59) | |
| RGB percent | rgb(13.3%, 15.7%, 23.1%) | |
| HSL | hsl(226, 27%, 18%) | |
| HSV / HSB | hsv(226, 42%, 23%) | |
| CMYK | cmyk(42%, 32%, 0%, 77%) | |
| CIE LAB | lab(16.37, 3.13, -13.03) | |
| CIE LCH | lch(16.37, 13.4, 283.49) | |
| CIE XYZ | xyz(2.208, 2.173, 4.44) | |
| Decimal | 2238523 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22283B, 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 #22283B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.64:1 | Pass | Pass | Pass |
| #22283B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.64: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 #22283B looks to people with the most common types of color vision deficiency.
#222a3cProtanopia
no red cones#20283bDeuteranopia
no green cones#1a2c2fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #22283b; }
.text { color: #22283b; }
.border { border: 2px solid #22283b; }
.transparent { background-color: rgb(34 40 59 / 50%); }
.gradient { background: linear-gradient(to right, #22283b, #29223b); }
Similar colors
#21263aMidnight Express#1e2433Moonless Mystery#1c2841Eternal Darkness#1f2133Eclipse Elixir#222233Black Velvet#161e34Sombre Night#2c2e47Midnight Masquerade#1b2431Dark
Closest common color name: Oxford Blue.
Questions
- What color is #22283B?
- #22283B is a very dark, desaturated blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
- What is the RGB value of #22283B?
- The RGB value is 34, 40, 59: 34 red, 40 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #22283B?
- The complementary color is #3B3522, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22283B?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.64:1. WCAG asks for at least 4.5:1 for normal text.