#31374E#31374E
#31374E is a dark, muted blue. Relative luminance 0.039; OKLCH L 34.2% C 0.041 H 272.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #31374E |
|---|---|
| RGB | rgb(49, 55, 78) |
| HSL | hsl(228, 23%, 25%) |
| HSV | hsv(228, 37%, 31%) |
| CMYK | cmyk(37.2%, 29.5%, 0%, 69.4%) |
| CIE-LAB | lab(23.46, 3.96, -14.87) |
| CIE-LCH | lch(23.46, 15.39, 284.90°) |
| OKLab | oklab(34.15% 0.002 -0.0413) |
| OKLCH | oklch(34.15% 0.041 272.8) |
| XYZ | xyz(4.0076, 3.9353, 7.7547) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.82
Dark
#1B2431
ΔE00 8.41
Marine
#042E60
ΔE00 9.73
Dark Blue Grey
#1F3B4D
ΔE00 10.11
Marine Blue
#01386A
ΔE00 10.40
Dark Grey Blue
#29465B
ΔE00 10.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31374E #4E4831
analogous
#31464E #31374E #39314E
triadic
#31374E #4E3137 #374E31
tetradic
#31374E #4E3146 #4E4831 #314E39
square
#31374E #4E3146 #4E4831 #314E39
split-complementary
#31374E #4E3931 #464E31
monochromatic
#0C0D13 #191C28 #31374E #495274 #606C99
Accessibility & contrast
On white
11.75
#31374E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#31374E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31374E
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31374E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31374E | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#293B3F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #31374e; /* rgb */ color: rgb(49, 55, 78); /* oklch */ color: oklch(34.2% 0.041 272.8);
Tailwind
colors: {
custom: {
50: '#6a6d7f',
500: '#31374e',
950: '#000000',
},
}SCSS
$custom: #31374e; $custom-light: #6a6d7f; $custom-dark: #000000;
JSON
{
"hex": "#31374e",
"rgb": {
"r": 49,
"g": 55,
"b": 78
},
"hsl": {
"h": 227.586,
"s": 22.835,
"l": 24.902
},
"oklch": {
"l": 0.34154,
"c": 0.04132,
"h": 272.8
},
"luminance": 0.03935
}Semantic roles & 50–950 ramp
primary
#31374E
secondary
#7F785C
accent
#AD68BF
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06070A
muted
#7A7A7C