#31344E#31344E
#31344E is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.4% C 0.046 H 278.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #31344E |
|---|---|
| RGB | rgb(49, 52, 78) |
| HSL | hsl(234, 23%, 25%) |
| HSV | hsv(234, 37%, 31%) |
| CMYK | cmyk(37.2%, 33.3%, 0%, 69.4%) |
| CIE-LAB | lab(22.51, 6.01, -16.34) |
| CIE-LCH | lch(22.51, 17.41, 290.20°) |
| OKLab | oklab(33.42% 0.0068 -0.0455) |
| OKLCH | oklch(33.42% 0.046 278.5) |
| XYZ | xyz(3.8694, 3.6589, 7.7086) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.46
Dark
#1B2431
ΔE00 9.41
Marine
#042E60
ΔE00 9.80
Marine Blue
#01386A
ΔE00 11.06
Navy (survey)
#01153E
ΔE00 11.43
Dark Blue Grey
#1F3B4D
ΔE00 12.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31344E #4E4B31
analogous
#31434E #31344E #3C314E
triadic
#31344E #4E3134 #344E31
tetradic
#31344E #4E3143 #4E4B31 #314E3C
square
#31344E #4E3143 #4E4B31 #314E3C
split-complementary
#31344E #4E3C31 #434E31
monochromatic
#0C0D13 #191B28 #31344E #494D74 #606699
Accessibility & contrast
On white
12.13
#31344E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#31344E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31344E
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31344E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31344E | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#29393D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #31344e; /* rgb */ color: rgb(49, 52, 78); /* oklch */ color: oklch(33.4% 0.046 278.5);
Tailwind
colors: {
custom: {
50: '#6a6b7f',
500: '#31344e',
950: '#000000',
},
}SCSS
$custom: #31344e; $custom-light: #6a6b7f; $custom-dark: #000000;
JSON
{
"hex": "#31344e",
"rgb": {
"r": 49,
"g": 52,
"b": 78
},
"hsl": {
"h": 233.793,
"s": 22.835,
"l": 24.902
},
"oklch": {
"l": 0.33421,
"c": 0.04598,
"h": 278.5
},
"luminance": 0.03659
}Semantic roles & 50–950 ramp
primary
#31344E
secondary
#7F7B5C
accent
#B668BF
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C