#31436B#31436B
#31436B is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.072 H 264.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #31436B |
|---|---|
| RGB | rgb(49, 67, 107) |
| HSL | hsl(221, 37%, 31%) |
| HSV | hsv(221, 54%, 42%) |
| CMYK | cmyk(54.2%, 37.4%, 0%, 58%) |
| CIE-LAB | lab(28.72, 5.53, -25.50) |
| CIE-LCH | lch(28.72, 26.10, 282.23°) |
| OKLab | oklab(38.73% -0.0065 -0.0719) |
| OKLCH | oklch(38.73% 0.072 264.9) |
| XYZ | xyz(5.9267, 5.7284, 14.7004) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 5.93
Marine Blue
#01386A
ΔE00 6.21
Darkish Blue
#014182
ΔE00 6.32
Cobalt (survey)
#1E488F
ΔE00 6.47
Prussian Blue
#004577
ΔE00 6.97
Dusk
#4E5481
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31436B #6B5931
analogous
#31606B #31436B #3C316B
triadic
#31436B #6B3143 #436B31
tetradic
#31436B #6B3160 #6B5931 #316B3C
square
#31436B #6B3160 #6B5931 #316B3C
split-complementary
#31436B #6B3C31 #606B31
monochromatic
#0B0E17 #1E2941 #31436B #445D95 #607BB6
Accessibility & contrast
On white
9.79
#31436B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#31436B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31436B
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31436B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31436B | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#164C52
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #31436b; /* rgb */ color: rgb(49, 67, 107); /* oklch */ color: oklch(38.7% 0.072 264.9);
Tailwind
colors: {
custom: {
50: '#6d7695',
500: '#31436b',
950: '#000000',
},
}SCSS
$custom: #31436b; $custom-light: #6d7695; $custom-dark: #000000;
JSON
{
"hex": "#31436b",
"rgb": {
"r": 49,
"g": 67,
"b": 107
},
"hsl": {
"h": 221.379,
"s": 37.179,
"l": 30.588
},
"oklch": {
"l": 0.3873,
"c": 0.07224,
"h": 264.9
},
"luminance": 0.05729
}Semantic roles & 50–950 ramp
primary
#31436B
secondary
#9C885C
accent
#AA5BCD
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E