#31439E#31439E
#31439E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.149 H 270.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #31439E |
|---|---|
| RGB | rgb(49, 67, 158) |
| HSL | hsl(230, 53%, 41%) |
| HSV | hsv(230, 69%, 62%) |
| CMYK | cmyk(69%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(32.11, 24.20, -51.69) |
| CIE-LCH | lch(32.11, 57.07, 295.09°) |
| OKLab | oklab(42.4% 0.0009 -0.1488) |
| OKLCH | oklch(42.4% 0.149 270.3) |
| XYZ | xyz(9.4432, 7.1350, 33.2207) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Blueberry
#464196
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31439E #9E8C31
analogous
#31799E #31439E #55319E
triadic
#31439E #9E3143 #439E31
tetradic
#31439E #9E3179 #9E8C31 #319E55
square
#31439E #9E3179 #9E8C31 #319E55
split-complementary
#31439E #9E5531 #799E31
monochromatic
#141B41 #232F6F #31439E #465BC6 #7585D4
Accessibility & contrast
On white
8.65
#31439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#31439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31439E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31439E | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31439e; /* rgb */ color: rgb(49, 67, 158); /* oklch */ color: oklch(42.4% 0.149 270.3);
Tailwind
colors: {
custom: {
50: '#7776bb',
500: '#31439e',
950: '#000000',
},
}SCSS
$custom: #31439e; $custom-light: #7776bb; $custom-dark: #000000;
JSON
{
"hex": "#31439e",
"rgb": {
"r": 49,
"g": 67,
"b": 158
},
"hsl": {
"h": 230.092,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.42404,
"c": 0.14882,
"h": 270.3
},
"luminance": 0.07136
}Semantic roles & 50–950 ramp
primary
#31439E
secondary
#BCAF6E
accent
#C44CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81