#31439B#31439B
#31439B is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.145 H 270.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #31439B |
|---|---|
| RGB | rgb(49, 67, 155) |
| HSL | hsl(230, 52%, 40%) |
| HSV | hsv(230, 68%, 61%) |
| CMYK | cmyk(68.4%, 56.8%, 0%, 39.2%) |
| CIE-LAB | lab(31.88, 23.09, -50.25) |
| CIE-LCH | lch(31.88, 55.30, 294.68°) |
| OKLab | oklab(42.16% 0.0007 -0.1446) |
| OKLCH | oklch(42.16% 0.145 270.3) |
| XYZ | xyz(9.1882, 7.0330, 31.8773) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31439B #9B8931
analogous
#31789B #31439B #54319B
triadic
#31439B #9B3143 #439B31
tetradic
#31439B #9B3178 #9B8931 #319B54
square
#31439B #9B3178 #9B8931 #319B54
split-complementary
#31439B #9B5431 #789B31
monochromatic
#141B3E #222F6D #31439B #455BC4 #7384D3
Accessibility & contrast
On white
8.73
#31439B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#31439B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31439B
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31439B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31439B | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #31439b; /* rgb */ color: rgb(49, 67, 155); /* oklch */ color: oklch(42.2% 0.145 270.3);
Tailwind
colors: {
custom: {
50: '#7676b9',
500: '#31439b',
950: '#000000',
},
}SCSS
$custom: #31439b; $custom-light: #7676b9; $custom-dark: #000000;
JSON
{
"hex": "#31439b",
"rgb": {
"r": 49,
"g": 67,
"b": 155
},
"hsl": {
"h": 229.811,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.42158,
"c": 0.14458,
"h": 270.3
},
"luminance": 0.07034
}Semantic roles & 50–950 ramp
primary
#31439B
secondary
#BBAE6D
accent
#C34CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80