#291B7E#291B7E
#291B7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.156 H 279.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #291B7E |
|---|---|
| RGB | rgb(41, 27, 126) |
| HSL | hsl(248, 65%, 30%) |
| HSV | hsv(248, 79%, 49%) |
| CMYK | cmyk(67.5%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(19.06, 37.11, -53.24) |
| CIE-LCH | lch(19.06, 64.90, 304.87°) |
| OKLab | oklab(31.86% 0.025 -0.1537) |
| OKLCH | oklch(31.86% 0.156 279.2) |
| XYZ | xyz(5.0711, 2.7612, 20.0004) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.91
Royal
#0C1793
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 5.28
Darkblue
#00008B
ΔE00 5.36
Navy
#000080
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B7E #707E1B
analogous
#1B3E7E #291B7E #5B1B7E
triadic
#291B7E #7E291B #1B7E29
tetradic
#291B7E #7E1B3E #707E1B #1B7E5B
square
#291B7E #7E1B3E #707E1B #1B7E5B
split-complementary
#291B7E #7E5B1B #3E7E1B
monochromatic
#080519 #19104C #291B7E #3926B0 #533ED6
Accessibility & contrast
On white
13.53
#291B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#291B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B7E
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B7E | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291b7e; /* rgb */ color: rgb(41, 27, 126); /* oklch */ color: oklch(31.9% 0.156 279.2);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#291b7e',
950: '#000000',
},
}SCSS
$custom: #291b7e; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#291b7e",
"rgb": {
"r": 41,
"g": 27,
"b": 126
},
"hsl": {
"h": 248.485,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31857,
"c": 0.15574,
"h": 279.2
},
"luminance": 0.02762
}Semantic roles & 50–950 ramp
primary
#291B7E
secondary
#A2B243
accent
#E840D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F