#3A29A4#3A29A4
#3A29A4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.185 H 279.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3A29A4 |
|---|---|
| RGB | rgb(58, 41, 164) |
| HSL | hsl(248, 60%, 40%) |
| HSV | hsv(248, 75%, 64%) |
| CMYK | cmyk(64.6%, 75%, 0%, 35.7%) |
| CIE-LAB | lab(27.20, 43.67, -63.33) |
| CIE-LCH | lch(27.20, 76.93, 304.59°) |
| OKLab | oklab(39.15% 0.0314 -0.1828) |
| OKLCH | oklch(39.15% 0.185 279.8) |
| XYZ | xyz(9.2366, 5.1650, 35.6250) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
Sapphire (survey)
#2138AB
ΔE00 5.30
Royal
#0C1793
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.18
True Blue
#010FCC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A29A4 #93A429
analogous
#2955A4 #3A29A4 #7829A4
triadic
#3A29A4 #A43A29 #29A43A
tetradic
#3A29A4 #A42955 #93A429 #29A478
square
#3A29A4 #A42955 #93A429 #29A478
split-complementary
#3A29A4 #A47829 #55A429
monochromatic
#171142 #291D73 #3A29A4 #503CCE #7C6DDA
Accessibility & contrast
On white
10.33
#3A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3A29A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A29A4
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A29A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A29A4 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a29a4; /* rgb */ color: rgb(58, 41, 164); /* oklch */ color: oklch(39.1% 0.185 279.8);
Tailwind
colors: {
custom: {
50: '#7e65c0',
500: '#3a29a4',
950: '#000000',
},
}SCSS
$custom: #3a29a4; $custom-light: #7e65c0; $custom-dark: #000000;
JSON
{
"hex": "#3a29a4",
"rgb": {
"r": 58,
"g": 41,
"b": 164
},
"hsl": {
"h": 248.293,
"s": 60,
"l": 40.196
},
"oklch": {
"l": 0.3915,
"c": 0.18547,
"h": 279.8
},
"luminance": 0.05166
}Semantic roles & 50–950 ramp
primary
#3A29A4
secondary
#B5C168
accent
#E345CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81