#262C2C#262C2C
#262C2C is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.008 H 196.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #262C2C |
|---|---|
| RGB | rgb(38, 44, 44) |
| HSL | hsl(180, 7%, 16%) |
| HSV | hsv(180, 14%, 17%) |
| CMYK | cmyk(13.6%, 0%, 0%, 82.7%) |
| CIE-LAB | lab(17.44, -2.62, -0.89) |
| CIE-LCH | lch(17.44, 2.77, 198.82°) |
| OKLab | oklab(28.73% -0.0081 -0.0024) |
| OKLCH | oklch(28.73% 0.008 196.7) |
| XYZ | xyz(2.1545, 2.3952, 2.7312) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gunmetal
#2A3439
ΔE00 4.05
Charcoal (survey)
#343837
ΔE00 4.13
Onyx
#353839
ΔE00 4.58
Dark Grey
#363737
ΔE00 4.90
Charcoal Grey
#3C4142
ΔE00 6.95
Dark
#1B2431
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C2C #2C2626
analogous
#262C29 #262C2C #26292C
triadic
#262C2C #2C262C #2C2C26
tetradic
#262C2C #29262C #2C2626 #292C26
square
#262C2C #29262C #2C2626 #292C26
split-complementary
#262C2C #2C2629 #2C2926
monochromatic
#0E1010 #0E1010 #262C2C #424D4D #5F6E6E
Accessibility & contrast
On white
14.20
#262C2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#262C2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C2C
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C2C | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2B2C
Deuteranopia (green-blind)
#2A2A2C
Tritanopia (blue-blind)
#242C2C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #262c2c; /* rgb */ color: rgb(38, 44, 44); /* oklch */ color: oklch(28.7% 0.008 196.7);
Tailwind
colors: {
custom: {
50: '#606565',
500: '#262c2c',
950: '#000000',
},
}SCSS
$custom: #262c2c; $custom-light: #606565; $custom-dark: #000000;
JSON
{
"hex": "#262c2c",
"rgb": {
"r": 38,
"g": 44,
"b": 44
},
"hsl": {
"h": 180,
"s": 7.317,
"l": 16.078
},
"oklch": {
"l": 0.28727,
"c": 0.00845,
"h": 196.7
},
"luminance": 0.02395
}Semantic roles & 50–950 ramp
primary
#262C2C
secondary
#5B5252
accent
#7777B0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040505
muted
#797A7A