#31419F#31419F
#31419F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.153 H 271.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #31419F |
|---|---|
| RGB | rgb(49, 65, 159) |
| HSL | hsl(231, 53%, 41%) |
| HSV | hsv(231, 69%, 62%) |
| CMYK | cmyk(69.2%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.66, 25.90, -53.03) |
| CIE-LCH | lch(31.66, 59.01, 296.03°) |
| OKLab | oklab(42.09% 0.0026 -0.1528) |
| OKLCH | oklch(42.09% 0.153 271) |
| XYZ | xyz(9.4128, 6.9359, 33.6369) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Blueberry
#464196
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31419F #9F8F31
analogous
#31789F #31419F #58319F
triadic
#31419F #9F3141 #419F31
tetradic
#31419F #9F3178 #9F8F31 #319F58
square
#31419F #9F3178 #9F8F31 #319F58
split-complementary
#31419F #9F5831 #789F31
monochromatic
#141B41 #232E70 #31419F #4759C6 #7684D5
Accessibility & contrast
On white
8.80
#31419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#31419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31419F
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31419F | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #31419f; /* rgb */ color: rgb(49, 65, 159); /* oklch */ color: oklch(42.1% 0.153 271.0);
Tailwind
colors: {
custom: {
50: '#7775bc',
500: '#31419f',
950: '#000000',
},
}SCSS
$custom: #31419f; $custom-light: #7775bc; $custom-dark: #000000;
JSON
{
"hex": "#31419f",
"rgb": {
"r": 49,
"g": 65,
"b": 159
},
"hsl": {
"h": 231.273,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.42091,
"c": 0.1528,
"h": 271
},
"luminance": 0.06937
}Semantic roles & 50–950 ramp
primary
#31419F
secondary
#BDB16F
accent
#C74CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81