#31419B#31419B
#31419B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.147 H 271.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #31419B |
|---|---|
| RGB | rgb(49, 65, 155) |
| HSL | hsl(231, 52%, 40%) |
| HSV | hsv(231, 68%, 61%) |
| CMYK | cmyk(68.4%, 58.1%, 0%, 39.2%) |
| CIE-LAB | lab(31.35, 24.42, -51.12) |
| CIE-LCH | lch(31.35, 56.65, 295.54°) |
| OKLab | oklab(41.76% 0.0025 -0.1472) |
| OKLCH | oklch(41.76% 0.147 271) |
| XYZ | xyz(9.0713, 6.7993, 31.8383) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31419B #9B8B31
analogous
#31769B #31419B #56319B
triadic
#31419B #9B3141 #419B31
tetradic
#31419B #9B3176 #9B8B31 #319B56
square
#31419B #9B3176 #9B8B31 #319B56
split-complementary
#31419B #9B5631 #769B31
monochromatic
#141A3E #222E6D #31419B #4558C4 #7382D3
Accessibility & contrast
On white
8.90
#31419B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#31419B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31419B
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31419B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31419B | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #31419b; /* rgb */ color: rgb(49, 65, 155); /* oklch */ color: oklch(41.8% 0.147 271.0);
Tailwind
colors: {
custom: {
50: '#7675b9',
500: '#31419b',
950: '#000000',
},
}SCSS
$custom: #31419b; $custom-light: #7675b9; $custom-dark: #000000;
JSON
{
"hex": "#31419b",
"rgb": {
"r": 49,
"g": 65,
"b": 155
},
"hsl": {
"h": 230.943,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.41757,
"c": 0.14718,
"h": 271
},
"luminance": 0.068
}Semantic roles & 50–950 ramp
primary
#31419B
secondary
#BBAF6D
accent
#C64CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81