#3A29A2#3A29A2
#3A29A2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.183 H 280.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3A29A2 |
|---|---|
| RGB | rgb(58, 41, 162) |
| HSL | hsl(248, 60%, 40%) |
| HSV | hsv(248, 75%, 64%) |
| CMYK | cmyk(64.2%, 74.7%, 0%, 36.5%) |
| CIE-LAB | lab(27.00, 43.04, -62.45) |
| CIE-LCH | lch(27.00, 75.84, 304.57°) |
| OKLab | oklab(38.95% 0.0319 -0.1802) |
| OKLCH | oklch(38.95% 0.183 280) |
| XYZ | xyz(9.0574, 5.0934, 34.6812) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 5.36
Royal
#0C1793
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.20
True Blue
#010FCC
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A29A2 #91A229
analogous
#2954A2 #3A29A2 #7729A2
triadic
#3A29A2 #A23A29 #29A23A
tetradic
#3A29A2 #A22954 #91A229 #29A277
square
#3A29A2 #A22954 #91A229 #29A277
split-complementary
#3A29A2 #A27729 #54A229
monochromatic
#171040 #291D71 #3A29A2 #4F3BCD #7B6CDA
Accessibility & contrast
On white
10.40
#3A29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3A29A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A29A2
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A29A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A29A2 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a29a2; /* rgb */ color: rgb(58, 41, 162); /* oklch */ color: oklch(38.9% 0.183 280.0);
Tailwind
colors: {
custom: {
50: '#7e65bf',
500: '#3a29a2',
950: '#000000',
},
}SCSS
$custom: #3a29a2; $custom-light: #7e65bf; $custom-dark: #000000;
JSON
{
"hex": "#3a29a2",
"rgb": {
"r": 58,
"g": 41,
"b": 162
},
"hsl": {
"h": 248.43,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.38948,
"c": 0.18301,
"h": 280
},
"luminance": 0.05094
}Semantic roles & 50–950 ramp
primary
#3A29A2
secondary
#B4C067
accent
#E345CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81