#2F313B#2F313B
#2F313B is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.5% C 0.018 H 276.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F313B |
|---|---|
| RGB | rgb(47, 49, 59) |
| HSL | hsl(230, 11%, 21%) |
| HSV | hsv(230, 20%, 23%) |
| CMYK | cmyk(20.3%, 16.9%, 0%, 76.9%) |
| CIE-LAB | lab(20.51, 1.71, -6.60) |
| CIE-LCH | lch(20.51, 6.82, 284.50°) |
| OKLab | oklab(31.53% 0.002 -0.0179) |
| OKLCH | oklch(31.53% 0.018 276.4) |
| XYZ | xyz(3.0598, 3.1167, 4.5772) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.57
Onyx
#353839
ΔE00 6.32
Gunmetal
#2A3439
ΔE00 6.40
Dark Grey
#363737
ΔE00 6.47
Charcoal (survey)
#343837
ΔE00 7.76
Charcoal Grey
#3C4142
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F313B #3B392F
analogous
#2F373B #2F313B #332F3B
triadic
#2F313B #3B2F31 #313B2F
tetradic
#2F313B #3B2F37 #3B392F #2F3B33
square
#2F313B #3B2F37 #3B392F #2F3B33
split-complementary
#2F313B #3B332F #373B2F
monochromatic
#0E0E11 #141519 #2F313B #4A4D5D #656A7F
Accessibility & contrast
On white
12.94
#2F313B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2F313B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F313B
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F313B | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E323B
Deuteranopia (green-blind)
#2E313B
Tritanopia (blue-blind)
#2C3334
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f313b; /* rgb */ color: rgb(47, 49, 59); /* oklch */ color: oklch(31.5% 0.018 276.4);
Tailwind
colors: {
custom: {
50: '#676970',
500: '#2f313b',
950: '#000000',
},
}SCSS
$custom: #2f313b; $custom-light: #676970; $custom-dark: #000000;
JSON
{
"hex": "#2f313b",
"rgb": {
"r": 47,
"g": 49,
"b": 59
},
"hsl": {
"h": 230,
"s": 11.321,
"l": 20.784
},
"oklch": {
"l": 0.31531,
"c": 0.01804,
"h": 276.4
},
"luminance": 0.03117
}Semantic roles & 50–950 ramp
primary
#2F313B
secondary
#6B685B
accent
#A974B4
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A