#31356B#31356B
#31356B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.092 H 277.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #31356B |
|---|---|
| RGB | rgb(49, 53, 107) |
| HSL | hsl(236, 37%, 31%) |
| HSV | hsv(236, 54%, 42%) |
| CMYK | cmyk(54.2%, 50.5%, 0%, 58%) |
| CIE-LAB | lab(24.51, 15.09, -32.18) |
| CIE-LCH | lch(24.51, 35.54, 295.13°) |
| OKLab | oklab(35.51% 0.0119 -0.0916) |
| OKLCH | oklch(35.51% 0.092 277.4) |
| XYZ | xyz(5.1927, 4.2604, 14.4558) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.72
Marine
#042E60
ΔE00 6.78
Navy Blue
#1B2A4A
ΔE00 7.22
Blueberry
#464196
ΔE00 8.05
Marine Blue
#01386A
ΔE00 8.16
Midnight Blue
#191970
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31356B #6B6731
analogous
#31526B #31356B #4A316B
triadic
#31356B #6B3135 #356B31
tetradic
#31356B #6B3152 #6B6731 #316B4A
square
#31356B #6B3152 #6B6731 #316B4A
split-complementary
#31356B #6B4A31 #526B31
monochromatic
#0B0B17 #1E2041 #31356B #444A95 #6066B6
Accessibility & contrast
On white
11.34
#31356B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#31356B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31356B
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31356B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31356B | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#17386A
Tritanopia (blue-blind)
#19414B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #31356b; /* rgb */ color: rgb(49, 53, 107); /* oklch */ color: oklch(35.5% 0.092 277.4);
Tailwind
colors: {
custom: {
50: '#6e6c96',
500: '#31356b',
950: '#000000',
},
}SCSS
$custom: #31356b; $custom-light: #6e6c96; $custom-dark: #000000;
JSON
{
"hex": "#31356b",
"rgb": {
"r": 49,
"g": 53,
"b": 107
},
"hsl": {
"h": 235.862,
"s": 37.179,
"l": 30.588
},
"oklch": {
"l": 0.35509,
"c": 0.09236,
"h": 277.4
},
"luminance": 0.04261
}Semantic roles & 50–950 ramp
primary
#31356B
secondary
#9C985C
accent
#C55BCD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E