#303951#303951
#303951 is a dark, muted blue. Relative luminance 0.041; OKLCH L 34.7% C 0.044 H 268.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #303951 |
|---|---|
| RGB | rgb(48, 57, 81) |
| HSL | hsl(224, 26%, 25%) |
| HSV | hsv(224, 41%, 32%) |
| CMYK | cmyk(40.7%, 29.6%, 0%, 68.2%) |
| CIE-LAB | lab(24.16, 3.21, -15.78) |
| CIE-LCH | lch(24.16, 16.11, 281.51°) |
| OKLab | oklab(34.73% -0.0013 -0.0439) |
| OKLCH | oklch(34.73% 0.044 268.3) |
| XYZ | xyz(4.1668, 4.1485, 8.3642) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.77
Dark
#1B2431
ΔE00 8.59
Marine
#042E60
ΔE00 8.85
Dark Blue Grey
#1F3B4D
ΔE00 9.04
Dark Grey Blue
#29465B
ΔE00 9.13
Marine Blue
#01386A
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303951 #514830
analogous
#304951 #303951 #373051
triadic
#303951 #513039 #395130
tetradic
#303951 #513049 #514830 #305137
square
#303951 #513049 #514830 #305137
split-complementary
#303951 #513730 #495130
monochromatic
#0B0E13 #191E2B #303951 #475477 #5E6F9E
Accessibility & contrast
On white
11.48
#303951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#303951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303951
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303951 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#263E41
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #303951; /* rgb */ color: rgb(48, 57, 81); /* oklch */ color: oklch(34.7% 0.044 268.3);
Tailwind
colors: {
custom: {
50: '#696f82',
500: '#303951',
950: '#000000',
},
}SCSS
$custom: #303951; $custom-light: #696f82; $custom-dark: #000000;
JSON
{
"hex": "#303951",
"rgb": {
"r": 48,
"g": 57,
"b": 81
},
"hsl": {
"h": 223.636,
"s": 25.581,
"l": 25.294
},
"oklch": {
"l": 0.34726,
"c": 0.04391,
"h": 268.3
},
"luminance": 0.04149
}Semantic roles & 50–950 ramp
primary
#303951
secondary
#82775B
accent
#A966C2
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C