#223239 color
The hex color #223239 is a very dark, desaturated azure.
In the RGB color model it is made of 13.3% red, 19.6% green and 22.4% blue (34, 50, 57).
Its hue angle is 198°, with 25% saturation and 18% lightness. For print, the CMYK equivalent is 40% cyan, 12% magenta, 0% yellow and 78% black.
The closest named color is Petrol Slumber (#243640), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.26:1).
#223239 color codes
| HEX | #223239 | |
|---|---|---|
| RGB | rgb(34, 50, 57) | |
| RGB percent | rgb(13.3%, 19.6%, 22.4%) | |
| HSL | hsl(198, 25%, 18%) | |
| HSV / HSB | hsv(198, 40%, 22%) | |
| CMYK | cmyk(40%, 12%, 0%, 78%) | |
| CIE LAB | lab(19.71, -4.45, -6.54) | |
| CIE LCH | lch(19.71, 7.91, 235.78) | |
| CIE XYZ | xyz(2.539, 2.917, 4.299) | |
| Decimal | 2241081 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #223239, 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 #223239 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.26:1 | Pass | Pass | Pass |
| #223239 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.26: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 #223239 looks to people with the most common types of color vision deficiency.
#2e3139Protanopia
no red cones#2b2f39Deuteranopia
no green cones#1a3434Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #223239; }
.text { color: #223239; }
.border { border: 2px solid #223239; }
.transparent { background-color: rgb(34 50 57 / 50%); }
.gradient { background: linear-gradient(to right, #223239, #222739); }
Similar colors
#243640Petrol Slumber#2a3439Gunmetal#1e3642Into the Night#172b36Oceanic Noir#293135Nightmare Fuel#203943Astral Nomad#1e3442Blue Whale#303a40Tempest in a Teapot
Questions
- What color is #223239?
- #223239 is a very dark, desaturated azure, closest to the named color Petrol Slumber. It belongs to the black family of colors.
- What is the RGB value of #223239?
- The RGB value is 34, 50, 57: 34 red, 50 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #223239?
- The complementary color is #392922, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #223239?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.26:1. WCAG asks for at least 4.5:1 for normal text.