#312F4E#312F4E
#312F4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.2% C 0.054 H 285.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #312F4E |
|---|---|
| RGB | rgb(49, 47, 78) |
| HSL | hsl(244, 25%, 25%) |
| HSV | hsv(244, 40%, 31%) |
| CMYK | cmyk(37.2%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(20.97, 9.48, -18.75) |
| CIE-LCH | lch(20.97, 21.01, 296.81°) |
| OKLab | oklab(32.23% 0.0149 -0.0524) |
| OKLCH | oklch(32.23% 0.054 285.9) |
| XYZ | xyz(3.6579, 3.2360, 7.6381) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.10
Marine
#042E60
ΔE00 10.16
Navy (survey)
#01153E
ΔE00 10.17
Dark
#1B2431
ΔE00 11.25
Navy Blue (survey)
#001146
ΔE00 11.65
Marine Blue
#01386A
ΔE00 12.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#312F4E #4C4E2F
analogous
#2F3D4E #312F4E #412F4E
triadic
#312F4E #4E312F #2F4E31
tetradic
#312F4E #4E2F3D #4C4E2F #2F4E41
square
#312F4E #4E2F3D #4C4E2F #2F4E41
split-complementary
#312F4E #4E412F #3D4E2F
monochromatic
#0C0C13 #191828 #312F4E #494674 #615D9A
Accessibility & contrast
On white
12.75
#312F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#312F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #312F4E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##312F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##312F4E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#25324D
Tritanopia (blue-blind)
#2A353A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #312f4e; /* rgb */ color: rgb(49, 47, 78); /* oklch */ color: oklch(32.2% 0.054 285.9);
Tailwind
colors: {
custom: {
50: '#6a677f',
500: '#312f4e',
950: '#000000',
},
}SCSS
$custom: #312f4e; $custom-light: #6a677f; $custom-dark: #000000;
JSON
{
"hex": "#312f4e",
"rgb": {
"r": 49,
"g": 47,
"b": 78
},
"hsl": {
"h": 243.871,
"s": 24.8,
"l": 24.51
},
"oklch": {
"l": 0.32231,
"c": 0.05448,
"h": 285.9
},
"luminance": 0.03236
}Semantic roles & 50–950 ramp
primary
#312F4E
secondary
#7D7F5A
accent
#C167BB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C