#2F313C#2F313C
#2F313C is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.6% C 0.020 H 277.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F313C |
|---|---|
| RGB | rgb(47, 49, 60) |
| HSL | hsl(231, 12%, 21%) |
| HSV | hsv(231, 22%, 24%) |
| CMYK | cmyk(21.7%, 18.3%, 0%, 76.5%) |
| CIE-LAB | lab(20.55, 1.98, -7.22) |
| CIE-LCH | lch(20.55, 7.49, 285.36°) |
| OKLab | oklab(31.58% 0.0025 -0.0197) |
| OKLCH | oklch(31.58% 0.02 277.1) |
| XYZ | xyz(3.0860, 3.1272, 4.7151) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.58
Onyx
#353839
ΔE00 6.84
Gunmetal
#2A3439
ΔE00 6.87
Dark Grey
#363737
ΔE00 7.00
Charcoal (survey)
#343837
ΔE00 8.29
Charcoal Grey
#3C4142
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F313C #3C3A2F
analogous
#2F373C #2F313C #332F3C
triadic
#2F313C #3C2F31 #313C2F
tetradic
#2F313C #3C2F37 #3C3A2F #2F3C33
square
#2F313C #3C2F37 #3C3A2F #2F3C33
split-complementary
#2F313C #3C332F #373C2F
monochromatic
#0D0E11 #14151A #2F313C #4A4D5E #656981
Accessibility & contrast
On white
12.92
#2F313C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2F313C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F313C
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F313C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F313C | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#2D313C
Tritanopia (blue-blind)
#2C3335
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f313c; /* rgb */ color: rgb(47, 49, 60); /* oklch */ color: oklch(31.6% 0.020 277.1);
Tailwind
colors: {
custom: {
50: '#676971',
500: '#2f313c',
950: '#000000',
},
}SCSS
$custom: #2f313c; $custom-light: #676971; $custom-dark: #000000;
JSON
{
"hex": "#2f313c",
"rgb": {
"r": 47,
"g": 49,
"b": 60
},
"hsl": {
"h": 230.769,
"s": 12.15,
"l": 20.98
},
"oklch": {
"l": 0.31576,
"c": 0.01981,
"h": 277.1
},
"luminance": 0.03127
}Semantic roles & 50–950 ramp
primary
#2F313C
secondary
#6C695B
accent
#AB73B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A