#232126 color
The hex color #232126 is a dark gray.
In the RGB color model it is made of 13.7% red, 12.9% green and 14.9% blue (35, 33, 38).
Its hue angle is 264°, with 7% saturation and 14% lightness. For print, the CMYK equivalent is 8% cyan, 13% magenta, 0% yellow and 85% black.
The closest named color is Darth Vader (#27252A), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.95:1).
#232126 color codes
| HEX | #232126 | |
|---|---|---|
| RGB | rgb(35, 33, 38) | |
| RGB percent | rgb(13.7%, 12.9%, 14.9%) | |
| HSL | hsl(264, 7%, 14%) | |
| HSV / HSB | hsv(264, 13%, 15%) | |
| CMYK | cmyk(8%, 13%, 0%, 85%) | |
| CIE LAB | lab(13.14, 2.19, -3.02) | |
| CIE LCH | lch(13.14, 3.73, 306.02) | |
| CIE XYZ | xyz(1.587, 1.585, 2.056) | |
| Decimal | 2302246 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #232126, 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 #232126 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.95:1 | Pass | Pass | Pass |
| #232126 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.95:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #232126 looks to people with the most common types of color vision deficiency.
#202226Protanopia
no red cones#212226Deuteranopia
no green cones#232223Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #232126; }
.text { color: #232126; }
.border { border: 2px solid #232126; }
.transparent { background-color: rgb(35 33 38 / 50%); }
.gradient { background: linear-gradient(to right, #232126, #262126); }
Similar colors
#27252aDarth Vader#252024Ink Black#1e1e21Inkwell Inception#28282dAnthracite#201b20Night Demons#202124Noble Black#29292fJaguar#211e1fUmbra
Closest common color name: Licorice.
Questions
- What color is #232126?
- #232126 is a dark gray, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #232126?
- The RGB value is 35, 33, 38: 35 red, 33 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #232126?
- The complementary color is #242621, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #232126?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.95:1. WCAG asks for at least 4.5:1 for normal text.