#29227E#29227E
#29227E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.148 H 277.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #29227E |
|---|---|
| RGB | rgb(41, 34, 126) |
| HSL | hsl(245, 58%, 31%) |
| HSV | hsv(245, 73%, 49%) |
| CMYK | cmyk(67.5%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(20.52, 33.00, -50.83) |
| CIE-LCH | lch(20.52, 60.61, 302.99°) |
| OKLab | oklab(32.89% 0.0202 -0.1467) |
| OKLCH | oklch(32.89% 0.148 277.8) |
| XYZ | xyz(5.2512, 3.1214, 20.0604) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.20
Royal
#0C1793
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 6.28
Dark Royal Blue
#02066F
ΔE00 6.63
Darkblue
#00008B
ΔE00 6.88
Navy
#000080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29227E #777E22
analogous
#22497E #29227E #57227E
triadic
#29227E #7E2922 #227E29
tetradic
#29227E #7E2249 #777E22 #227E57
square
#29227E #7E2249 #777E22 #227E57
split-complementary
#29227E #7E5722 #497E22
monochromatic
#0A081E #19154E #29227E #392FAE #564CCF
Accessibility & contrast
On white
12.93
#29227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#29227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29227E
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29227E | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #29227e; /* rgb */ color: rgb(41, 34, 126); /* oklch */ color: oklch(32.9% 0.148 277.8);
Tailwind
colors: {
custom: {
50: '#6f5ea4',
500: '#29227e',
950: '#000000',
},
}SCSS
$custom: #29227e; $custom-light: #6f5ea4; $custom-dark: #000000;
JSON
{
"hex": "#29227e",
"rgb": {
"r": 41,
"g": 34,
"b": 126
},
"hsl": {
"h": 244.565,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.32894,
"c": 0.14812,
"h": 277.8
},
"luminance": 0.03122
}Semantic roles & 50–950 ramp
primary
#29227E
secondary
#A9B14B
accent
#E147D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F