#31436F#31436F
#31436F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.079 H 266.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #31436F |
|---|---|
| RGB | rgb(49, 67, 111) |
| HSL | hsl(223, 39%, 31%) |
| HSV | hsv(223, 56%, 44%) |
| CMYK | cmyk(55.9%, 39.6%, 0%, 56.5%) |
| CIE-LAB | lab(28.94, 6.94, -27.69) |
| CIE-LCH | lch(28.94, 28.55, 284.07°) |
| OKLab | oklab(38.98% -0.0054 -0.0783) |
| OKLCH | oklch(38.98% 0.079 266) |
| XYZ | xyz(6.1421, 5.8145, 15.8345) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 5.77
Cobalt (survey)
#1E488F
ΔE00 5.96
Darkish Blue
#014182
ΔE00 5.99
Marine Blue
#01386A
ΔE00 6.18
Prussian Blue
#004577
ΔE00 6.97
Dusk
#4E5481
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31436F #6F5D31
analogous
#31626F #31436F #3E316F
triadic
#31436F #6F3143 #436F31
tetradic
#31436F #6F3162 #6F5D31 #316F3E
square
#31436F #6F3162 #6F5D31 #316F3E
split-complementary
#31436F #6F3E31 #626F31
monochromatic
#0C101A #1E2945 #31436F #445D99 #617BB9
Accessibility & contrast
On white
9.71
#31436F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#31436F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31436F
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31436F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31436F | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#2A426E
Tritanopia (blue-blind)
#124D53
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #31436f; /* rgb */ color: rgb(49, 67, 111); /* oklch */ color: oklch(39.0% 0.079 266.0);
Tailwind
colors: {
custom: {
50: '#6e7698',
500: '#31436f',
950: '#000000',
},
}SCSS
$custom: #31436f; $custom-light: #6e7698; $custom-dark: #000000;
JSON
{
"hex": "#31436f",
"rgb": {
"r": 49,
"g": 67,
"b": 111
},
"hsl": {
"h": 222.581,
"s": 38.75,
"l": 31.373
},
"oklch": {
"l": 0.38976,
"c": 0.07852,
"h": 266
},
"luminance": 0.05815
}Semantic roles & 50–950 ramp
primary
#31436F
secondary
#A08C5C
accent
#AD59CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E