#26222D color
The hex color #26222D is a very dark, grayish violet.
In the RGB color model it is made of 14.9% red, 13.3% green and 17.6% blue (38, 34, 45).
Its hue angle is 262°, with 14% saturation and 15% lightness. For print, the CMYK equivalent is 16% cyan, 24% magenta, 0% yellow and 82% black.
The closest named color is Haiti (#2C2A35), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.57:1).
#26222D color codes
| HEX | #26222D | |
|---|---|---|
| RGB | rgb(38, 34, 45) | |
| RGB percent | rgb(14.9%, 13.3%, 17.6%) | |
| HSL | hsl(262, 14%, 15%) | |
| HSV / HSB | hsv(262, 24%, 18%) | |
| CMYK | cmyk(16%, 24%, 0%, 82%) | |
| CIE LAB | lab(14.09, 4.67, -6.6) | |
| CIE LCH | lch(14.09, 8.08, 305.3) | |
| CIE XYZ | xyz(1.845, 1.746, 2.722) | |
| Decimal | 2499117 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #26222D, 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 #26222D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.57:1 | Pass | Pass | Pass |
| #26222D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.57:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #26222D looks to people with the most common types of color vision deficiency.
#20242dProtanopia
no red cones#21242dDeuteranopia
no green cones#252426Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #26222d; }
.text { color: #26222d; }
.border { border: 2px solid #26222d; }
.transparent { background-color: rgb(38 34 45 / 50%); }
.gradient { background: linear-gradient(to right, #26222d, #2b222d); }
Similar colors
#2c2a35Haiti#222233Black Velvet#27252aDarth Vader#201b20Night Demons#252024Ink Black#1f2133Eclipse Elixir#1a161dViolet Void#29292fJaguar
Closest common color name: Licorice.
Questions
- What color is #26222D?
- #26222D is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #26222D?
- The RGB value is 38, 34, 45: 38 red, 34 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #26222D?
- The complementary color is #292D22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #26222D?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.57:1. WCAG asks for at least 4.5:1 for normal text.