#222F36 color
The hex color #222F36 is a very dark, grayish azure.
In the RGB color model it is made of 13.3% red, 18.4% green and 21.2% blue (34, 47, 54).
Its hue angle is 201°, with 23% saturation and 17% lightness. For print, the CMYK equivalent is 37% cyan, 13% magenta, 0% yellow and 79% black.
The closest named color is Gunmetal (#2A3439), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.74:1).
#222F36 color codes
| HEX | #222F36 | |
|---|---|---|
| RGB | rgb(34, 47, 54) | |
| RGB percent | rgb(13.3%, 18.4%, 21.2%) | |
| HSL | hsl(201, 23%, 17%) | |
| HSV / HSB | hsv(201, 37%, 21%) | |
| CMYK | cmyk(37%, 13%, 0%, 79%) | |
| CIE LAB | lab(18.54, -3.37, -6.24) | |
| CIE LCH | lch(18.54, 7.09, 241.6) | |
| CIE XYZ | xyz(2.342, 2.639, 3.875) | |
| Decimal | 2240310 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222F36, 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 #222F36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.74:1 | Pass | Pass | Pass |
| #222F36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.74:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #222F36 looks to people with the most common types of color vision deficiency.
#2c2e36Protanopia
no red cones#292c36Deuteranopia
no green cones#1c3131Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #222f36; }
.text { color: #222f36; }
.border { border: 2px solid #222f36; }
.transparent { background-color: rgb(34 47 54 / 50%); }
.gradient { background: linear-gradient(to right, #222f36, #222536); }
Similar colors
#2a3439Gunmetal#293135Nightmare Fuel#243640Petrol Slumber#1e272cBlack Pearl#172b36Oceanic Noir#242a2eCinder#303a40Tempest in a Teapot#1e3642Into the Night
Questions
- What color is #222F36?
- #222F36 is a very dark, grayish azure, closest to the named color Gunmetal. It belongs to the black family of colors.
- What is the RGB value of #222F36?
- The RGB value is 34, 47, 54: 34 red, 47 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #222F36?
- The complementary color is #362922, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222F36?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.74:1. WCAG asks for at least 4.5:1 for normal text.