#291A7C#291A7C
#291A7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.154 H 279.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7C |
|---|---|
| RGB | rgb(41, 26, 124) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 49%) |
| CMYK | cmyk(66.9%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(18.65, 37.00, -52.65) |
| CIE-LCH | lch(18.65, 64.35, 305.10°) |
| OKLab | oklab(31.5% 0.0262 -0.152) |
| OKLCH | oklch(31.5% 0.154 279.8) |
| XYZ | xyz(4.9208, 2.6651, 19.3200) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.73
Royal
#0C1793
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 4.46
Dark Royal Blue
#02066F
ΔE00 5.04
Navy
#000080
ΔE00 5.24
Deep Blue
#040273
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7C #6D7C1A
analogous
#1A3C7C #291A7C #5A1A7C
triadic
#291A7C #7C291A #1A7C29
tetradic
#291A7C #7C1A3C #6D7C1A #1A7C5A
square
#291A7C #7C1A3C #6D7C1A #1A7C5A
split-complementary
#291A7C #7C5A1A #3C7C1A
monochromatic
#080519 #180F49 #291A7C #3A25AF #523BD6
Accessibility & contrast
On white
13.70
#291A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#291A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7C
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7C | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291a7c; /* rgb */ color: rgb(41, 26, 124); /* oklch */ color: oklch(31.5% 0.154 279.8);
Tailwind
colors: {
custom: {
50: '#6f59a3',
500: '#291a7c',
950: '#000000',
},
}SCSS
$custom: #291a7c; $custom-light: #6f59a3; $custom-dark: #000000;
JSON
{
"hex": "#291a7c",
"rgb": {
"r": 41,
"g": 26,
"b": 124
},
"hsl": {
"h": 249.184,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.31503,
"c": 0.15421,
"h": 279.8
},
"luminance": 0.02665
}Semantic roles & 50–950 ramp
primary
#291A7C
secondary
#9FB042
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F