#291A7F#291A7F
#291A7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.158 H 279.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7F |
|---|---|
| RGB | rgb(41, 26, 127) |
| HSL | hsl(249, 66%, 30%) |
| HSV | hsv(249, 80%, 50%) |
| CMYK | cmyk(67.7%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(18.98, 37.98, -54.01) |
| CIE-LCH | lch(18.98, 66.02, 305.11°) |
| OKLab | oklab(31.83% 0.0253 -0.1559) |
| OKLCH | oklch(31.83% 0.158 279.2) |
| XYZ | xyz(5.1134, 2.7421, 20.3344) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 4.34
Darkblue
#00008B
ΔE00 5.10
Navy
#000080
ΔE00 5.13
Dark Royal Blue
#02066F
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7F #707F1A
analogous
#1A3D7F #291A7F #5C1A7F
triadic
#291A7F #7F291A #1A7F29
tetradic
#291A7F #7F1A3D #707F1A #1A7F5C
square
#291A7F #7F1A3D #707F1A #1A7F5C
split-complementary
#291A7F #7F5C1A #3D7F1A
monochromatic
#080519 #19104C #291A7F #3924B2 #533CD7
Accessibility & contrast
On white
13.56
#291A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#291A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7F
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7F | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291a7f; /* rgb */ color: rgb(41, 26, 127); /* oklch */ color: oklch(31.8% 0.158 279.2);
Tailwind
colors: {
custom: {
50: '#7059a5',
500: '#291a7f',
950: '#000000',
},
}SCSS
$custom: #291a7f; $custom-light: #7059a5; $custom-dark: #000000;
JSON
{
"hex": "#291a7f",
"rgb": {
"r": 41,
"g": 26,
"b": 127
},
"hsl": {
"h": 248.911,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.31833,
"c": 0.158,
"h": 279.2
},
"luminance": 0.02743
}Semantic roles & 50–950 ramp
primary
#291A7F
secondary
#A2B342
accent
#E93FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F