#291F84#291F84
#291F84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.159 H 277.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #291F84 |
|---|---|
| RGB | rgb(41, 31, 132) |
| HSL | hsl(246, 62%, 32%) |
| HSV | hsv(246, 77%, 52%) |
| CMYK | cmyk(68.9%, 76.5%, 0%, 48.2%) |
| CIE-LAB | lab(20.51, 36.83, -54.65) |
| CIE-LCH | lch(20.51, 65.91, 303.98°) |
| OKLab | oklab(33.07% 0.021 -0.1579) |
| OKLCH | oklch(33.07% 0.159 277.6) |
| XYZ | xyz(5.5679, 3.1169, 22.1335) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.65
Indigo (survey)
#380282
ΔE00 5.33
Darkblue
#00008B
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.03
Navy
#000080
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F84 #7A841F
analogous
#1F4784 #291F84 #5C1F84
triadic
#291F84 #84291F #1F8429
tetradic
#291F84 #841F47 #7A841F #1F845C
square
#291F84 #841F47 #7A841F #1F845C
split-complementary
#291F84 #845C1F #47841F
monochromatic
#0A0821 #1A1352 #291F84 #382BB6 #5749D4
Accessibility & contrast
On white
12.94
#291F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#291F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F84
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F84 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #291f84; /* rgb */ color: rgb(41, 31, 132); /* oklch */ color: oklch(33.1% 0.159 277.6);
Tailwind
colors: {
custom: {
50: '#715da9',
500: '#291f84',
950: '#000000',
},
}SCSS
$custom: #291f84; $custom-light: #715da9; $custom-dark: #000000;
JSON
{
"hex": "#291f84",
"rgb": {
"r": 41,
"g": 31,
"b": 132
},
"hsl": {
"h": 245.941,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.3307,
"c": 0.15927,
"h": 277.6
},
"luminance": 0.03117
}Semantic roles & 50–950 ramp
primary
#291F84
secondary
#ACB748
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F