#223851 color
The hex color #223851 is a dark, desaturated azure.
In the RGB color model it is made of 13.3% red, 22% green and 31.8% blue (34, 56, 81).
Its hue angle is 212°, with 41% saturation and 23% lightness. For print, the CMYK equivalent is 58% cyan, 31% magenta, 0% yellow and 68% black.
The closest named color is Nautilus (#273C5A), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.98:1).
#223851 color codes
| HEX | #223851 | |
|---|---|---|
| RGB | rgb(34, 56, 81) | |
| RGB percent | rgb(13.3%, 22%, 31.8%) | |
| HSL | hsl(212, 41%, 23%) | |
| HSV / HSB | hsv(212, 58%, 32%) | |
| CMYK | cmyk(58%, 31%, 0%, 68%) | |
| CIE LAB | lab(22.87, -0.27, -17.86) | |
| CIE LCH | lch(22.87, 17.86, 269.13) | |
| CIE XYZ | xyz(3.559, 3.762, 8.322) | |
| Decimal | 2242641 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #223851, 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 #223851 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 11.98:1 | Pass | Pass | Pass |
| #223851 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.98:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #223851 looks to people with the most common types of color vision deficiency.
#2e3952Protanopia
no red cones#283550Deuteranopia
no green cones#083e41Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #223851; }
.text { color: #223851; }
.border { border: 2px solid #223851; }
.transparent { background-color: rgb(34 56 81 / 50%); }
.gradient { background: linear-gradient(to right, #223851, #242251); }
Similar colors
#273c5aNautilus#0a3251Beyond the Stars#143c5dPoseidon#314159Pi#0b334dSea of Stars#0f2d4dMidnight Ocean#003153Prussian Blue#2c4364Black Turmeric
Questions
- What color is #223851?
- #223851 is a dark, desaturated azure, closest to the named color Nautilus. It belongs to the blue family of colors.
- What is the RGB value of #223851?
- The RGB value is 34, 56, 81: 34 red, 56 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #223851?
- The complementary color is #513B22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #223851?
- White text. Black text has a contrast ratio of 1.75:1 and white text 11.98:1. WCAG asks for at least 4.5:1 for normal text.