#31499E#31499E
#31499E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.141 H 268.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #31499E |
|---|---|
| RGB | rgb(49, 73, 158) |
| HSL | hsl(227, 53%, 41%) |
| HSV | hsv(227, 69%, 62%) |
| CMYK | cmyk(69%, 53.8%, 0%, 38%) |
| CIE-LAB | lab(33.74, 20.19, -49.05) |
| CIE-LCH | lch(33.74, 53.04, 292.38°) |
| OKLab | oklab(43.63% -0.0045 -0.141) |
| OKLCH | oklch(43.63% 0.141 268.2) |
| XYZ | xyz(9.8186, 7.8857, 33.3458) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Cobalt (survey)
#1E488F
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 5.30
Blueberry
#464196
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.84
Dusk Blue
#26538D
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31499E #9E8631
analogous
#317F9E #31499E #4F319E
triadic
#31499E #9E3149 #499E31
tetradic
#31499E #9E317F #9E8631 #319E4F
square
#31499E #9E317F #9E8631 #319E4F
split-complementary
#31499E #9E4F31 #7F9E31
monochromatic
#141E41 #23336F #31499E #4662C6 #758AD4
Accessibility & contrast
On white
8.15
#31499E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#31499E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31499E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31499E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31499E | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F55A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #31499e; /* rgb */ color: rgb(49, 73, 158); /* oklch */ color: oklch(43.6% 0.141 268.2);
Tailwind
colors: {
custom: {
50: '#767bbb',
500: '#31499e',
950: '#000000',
},
}SCSS
$custom: #31499e; $custom-light: #767bbb; $custom-dark: #000000;
JSON
{
"hex": "#31499e",
"rgb": {
"r": 49,
"g": 73,
"b": 158
},
"hsl": {
"h": 226.789,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.4363,
"c": 0.14103,
"h": 268.2
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#31499E
secondary
#BCAB6E
accent
#BC4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81