#29237E#29237E
#29237E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.147 H 277.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #29237E |
|---|---|
| RGB | rgb(41, 35, 126) |
| HSL | hsl(244, 57%, 32%) |
| HSV | hsv(244, 72%, 49%) |
| CMYK | cmyk(67.5%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(20.75, 32.38, -50.46) |
| CIE-LCH | lch(20.75, 59.96, 302.69°) |
| OKLab | oklab(33.06% 0.0195 -0.1457) |
| OKLCH | oklch(33.06% 0.147 277.6) |
| XYZ | xyz(5.2802, 3.1794, 20.0700) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 6.55
Dark Royal Blue
#02066F
ΔE00 6.85
Darkblue
#00008B
ΔE00 7.13
Navy
#000080
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29237E #787E23
analogous
#234B7E #29237E #57237E
triadic
#29237E #7E2923 #237E29
tetradic
#29237E #7E234B #787E23 #237E57
square
#29237E #7E234B #787E23 #237E57
split-complementary
#29237E #7E5723 #4B7E23
monochromatic
#0A081E #19164E #29237E #3930AE #564ECE
Accessibility & contrast
On white
12.84
#29237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#29237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29237E
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29237E | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #29237e; /* rgb */ color: rgb(41, 35, 126); /* oklch */ color: oklch(33.1% 0.147 277.6);
Tailwind
colors: {
custom: {
50: '#6f5fa4',
500: '#29237e',
950: '#000000',
},
}SCSS
$custom: #29237e; $custom-light: #6f5fa4; $custom-dark: #000000;
JSON
{
"hex": "#29237e",
"rgb": {
"r": 41,
"g": 35,
"b": 126
},
"hsl": {
"h": 243.956,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.33056,
"c": 0.14696,
"h": 277.6
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#29237E
secondary
#AAB04C
accent
#E048D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F