#31409F#31409F
#31409F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.154 H 271.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #31409F |
|---|---|
| RGB | rgb(49, 64, 159) |
| HSL | hsl(232, 53%, 41%) |
| HSV | hsv(232, 69%, 62%) |
| CMYK | cmyk(69.2%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.40, 26.56, -53.45) |
| CIE-LCH | lch(31.40, 59.69, 296.42°) |
| OKLab | oklab(41.9% 0.0034 -0.154) |
| OKLCH | oklch(41.9% 0.154 271.3) |
| XYZ | xyz(9.3559, 6.8221, 33.6179) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Blueberry
#464196
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31409F #9F9031
analogous
#31779F #31409F #59319F
triadic
#31409F #9F3140 #409F31
tetradic
#31409F #9F3177 #9F9031 #319F59
square
#31409F #9F3177 #9F9031 #319F59
split-complementary
#31409F #9F5931 #779F31
monochromatic
#141A41 #232D70 #31409F #4758C6 #7683D5
Accessibility & contrast
On white
8.88
#31409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#31409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31409F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31409F | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #31409f; /* rgb */ color: rgb(49, 64, 159); /* oklch */ color: oklch(41.9% 0.154 271.3);
Tailwind
colors: {
custom: {
50: '#7774bc',
500: '#31409f',
950: '#000000',
},
}SCSS
$custom: #31409f; $custom-light: #7774bc; $custom-dark: #000000;
JSON
{
"hex": "#31409f",
"rgb": {
"r": 49,
"g": 64,
"b": 159
},
"hsl": {
"h": 231.818,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.41896,
"c": 0.15408,
"h": 271.3
},
"luminance": 0.06823
}Semantic roles & 50–950 ramp
primary
#31409F
secondary
#BDB26F
accent
#C94CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81