#29197F#29197F
#29197F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.159 H 279.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #29197F |
|---|---|
| RGB | rgb(41, 25, 127) |
| HSL | hsl(249, 67%, 30%) |
| HSV | hsv(249, 80%, 50%) |
| CMYK | cmyk(67.7%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.79, 38.51, -54.32) |
| CIE-LCH | lch(18.79, 66.58, 305.34°) |
| OKLab | oklab(31.7% 0.0259 -0.1568) |
| OKLCH | oklch(31.7% 0.159 279.4) |
| XYZ | xyz(5.0916, 2.6986, 20.3271) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Royal
#0C1793
ΔE00 3.60
Indigo (survey)
#380282
ΔE00 4.14
Darkblue
#00008B
ΔE00 4.92
Navy
#000080
ΔE00 4.95
Dark Royal Blue
#02066F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29197F #6F7F19
analogous
#193C7F #29197F #5C197F
triadic
#29197F #7F2919 #197F29
tetradic
#29197F #7F193C #6F7F19 #197F5C
square
#29197F #7F193C #6F7F19 #197F5C
split-complementary
#29197F #7F5C19 #3C7F19
monochromatic
#08051A #180F4C #29197F #3A23B2 #533AD8
Accessibility & contrast
On white
13.64
#29197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#29197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29197F
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29197F | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #29197f; /* rgb */ color: rgb(41, 25, 127); /* oklch */ color: oklch(31.7% 0.159 279.4);
Tailwind
colors: {
custom: {
50: '#7059a5',
500: '#29197f',
950: '#000000',
},
}SCSS
$custom: #29197f; $custom-light: #7059a5; $custom-dark: #000000;
JSON
{
"hex": "#29197f",
"rgb": {
"r": 41,
"g": 25,
"b": 127
},
"hsl": {
"h": 249.412,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31703,
"c": 0.15897,
"h": 279.4
},
"luminance": 0.02699
}Semantic roles & 50–950 ramp
primary
#29197F
secondary
#A1B341
accent
#EA3ECF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F