#223042 color
The hex color #223042 is a very dark, desaturated azure.
In the RGB color model it is made of 13.3% red, 18.8% green and 25.9% blue (34, 48, 66).
Its hue angle is 214°, with 32% saturation and 20% lightness. For print, the CMYK equivalent is 48% cyan, 27% magenta, 0% yellow and 74% black.
The closest named color is Total Eclipse (#303543), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.38:1).
#223042 color codes
| HEX | #223042 | |
|---|---|---|
| RGB | rgb(34, 48, 66) | |
| RGB percent | rgb(13.3%, 18.8%, 25.9%) | |
| HSL | hsl(214, 32%, 20%) | |
| HSV / HSB | hsv(214, 48%, 26%) | |
| CMYK | cmyk(48%, 27%, 0%, 74%) | |
| CIE LAB | lab(19.42, -0.12, -13.13) | |
| CIE LCH | lch(19.42, 13.13, 269.47) | |
| CIE XYZ | xyz(2.7, 2.847, 5.561) | |
| Decimal | 2240578 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #223042, 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 #223042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.38:1 | Pass | Pass | Pass |
| #223042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.38:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #223042 looks to people with the most common types of color vision deficiency.
#293143Protanopia
no red cones#252e42Deuteranopia
no green cones#163436Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #223042; }
.text { color: #223042; }
.border { border: 2px solid #223042; }
.transparent { background-color: rgb(34 48 66 / 50%); }
.gradient { background: linear-gradient(to right, #223042, #242242); }
Similar colors
#303543Total Eclipse#1b2431Dark#1e2433Moonless Mystery#1e3442Blue Whale#1c2841Eternal Darkness#222831Infinity#102030The Count’s Black#353f51Dark & Stormy
Closest common color name: Prussian Blue.
Questions
- What color is #223042?
- #223042 is a very dark, desaturated azure, closest to the named color Total Eclipse. It belongs to the blue family of colors.
- What is the RGB value of #223042?
- The RGB value is 34, 48, 66: 34 red, 48 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #223042?
- The complementary color is #423422, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #223042?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.38:1. WCAG asks for at least 4.5:1 for normal text.