#291F7A#291F7A
#291F7A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.146 H 279.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #291F7A |
|---|---|
| RGB | rgb(41, 31, 122) |
| HSL | hsl(247, 59%, 30%) |
| HSV | hsv(247, 75%, 48%) |
| CMYK | cmyk(66.4%, 74.6%, 0%, 52.2%) |
| CIE-LAB | lab(19.46, 33.46, -50.04) |
| CIE-LCH | lch(19.46, 60.19, 303.77°) |
| OKLab | oklab(32.01% 0.0232 -0.1444) |
| OKLCH | oklch(32.01% 0.146 279.1) |
| XYZ | xyz(4.9162, 2.8561, 18.7008) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.56
Royal
#0C1793
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 5.73
Dark Royal Blue
#02066F
ΔE00 5.91
Deep Blue
#040273
ΔE00 6.29
Navy
#000080
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F7A #707A1F
analogous
#1F437A #291F7A #561F7A
triadic
#291F7A #7A291F #1F7A29
tetradic
#291F7A #7A1F43 #707A1F #1F7A56
square
#291F7A #7A1F43 #707A1F #1F7A56
split-complementary
#291F7A #7A561F #437A1F
monochromatic
#080618 #191349 #291F7A #392BAB #5344CF
Accessibility & contrast
On white
13.36
#291F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F7A
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F7A | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291f7a; /* rgb */ color: rgb(41, 31, 122); /* oklch */ color: oklch(32.0% 0.146 279.1);
Tailwind
colors: {
custom: {
50: '#6e5ca1',
500: '#291f7a',
950: '#000000',
},
}SCSS
$custom: #291f7a; $custom-light: #6e5ca1; $custom-dark: #000000;
JSON
{
"hex": "#291f7a",
"rgb": {
"r": 41,
"g": 31,
"b": 122
},
"hsl": {
"h": 246.593,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.32011,
"c": 0.14625,
"h": 279.1
},
"luminance": 0.02857
}Semantic roles & 50–950 ramp
primary
#291F7A
secondary
#A2AD47
accent
#E345D1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F