#291B7A#291B7A
#291B7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.151 H 280.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #291B7A |
|---|---|
| RGB | rgb(41, 27, 122) |
| HSL | hsl(249, 64%, 29%) |
| HSV | hsv(249, 78%, 48%) |
| CMYK | cmyk(66.4%, 77.9%, 0%, 52.2%) |
| CIE-LAB | lab(18.63, 35.79, -51.41) |
| CIE-LCH | lch(18.63, 62.64, 304.85°) |
| OKLab | oklab(31.42% 0.026 -0.1484) |
| OKLCH | oklch(31.42% 0.151 280) |
| XYZ | xyz(4.8181, 2.6600, 18.6681) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.79
Dark Royal Blue
#02066F
ΔE00 5.15
Deep Blue
#040273
ΔE00 5.43
Navy
#000080
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B7A #6C7A1B
analogous
#1B3D7A #291B7A #591B7A
triadic
#291B7A #7A291B #1B7A29
tetradic
#291B7A #7A1B3D #6C7A1B #1B7A59
square
#291B7A #7A1B3D #6C7A1B #1B7A59
split-complementary
#291B7A #7A591B #3D7A1B
monochromatic
#080619 #181048 #291B7A #3A26AC #523CD4
Accessibility & contrast
On white
13.71
#291B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#291B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B7A
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B7A | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291b7a; /* rgb */ color: rgb(41, 27, 122); /* oklch */ color: oklch(31.4% 0.151 280.0);
Tailwind
colors: {
custom: {
50: '#6f5aa1',
500: '#291b7a',
950: '#000000',
},
}SCSS
$custom: #291b7a; $custom-light: #6f5aa1; $custom-dark: #000000;
JSON
{
"hex": "#291b7a",
"rgb": {
"r": 41,
"g": 27,
"b": 122
},
"hsl": {
"h": 248.842,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.31422,
"c": 0.15064,
"h": 280
},
"luminance": 0.0266
}Semantic roles & 50–950 ramp
primary
#291B7A
secondary
#9EAE43
accent
#E741CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F