#3A29A6#3A29A6
#3A29A6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.188 H 279.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3A29A6 |
|---|---|
| RGB | rgb(58, 41, 166) |
| HSL | hsl(248, 60%, 41%) |
| HSV | hsv(248, 75%, 65%) |
| CMYK | cmyk(65.1%, 75.3%, 0%, 34.9%) |
| CIE-LAB | lab(27.40, 44.30, -64.21) |
| CIE-LCH | lch(27.40, 78.01, 304.60°) |
| OKLab | oklab(39.35% 0.031 -0.1853) |
| OKLCH | oklch(39.35% 0.188 279.5) |
| XYZ | xyz(9.4186, 5.2378, 36.5837) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.31
Sapphire (survey)
#2138AB
ΔE00 5.25
Royal
#0C1793
ΔE00 5.94
Ultramarine
#2000B1
ΔE00 6.04
True Blue
#010FCC
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A29A6 #95A629
analogous
#2956A6 #3A29A6 #7829A6
triadic
#3A29A6 #A63A29 #29A63A
tetradic
#3A29A6 #A62956 #95A629 #29A678
square
#3A29A6 #A62956 #95A629 #29A678
split-complementary
#3A29A6 #A67829 #56A629
monochromatic
#181144 #291D75 #3A29A6 #513DCF #7D6EDB
Accessibility & contrast
On white
10.25
#3A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3A29A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A29A6
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A29A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A29A6 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a29a6; /* rgb */ color: rgb(58, 41, 166); /* oklch */ color: oklch(39.4% 0.188 279.5);
Tailwind
colors: {
custom: {
50: '#7f65c2',
500: '#3a29a6',
950: '#000000',
},
}SCSS
$custom: #3a29a6; $custom-light: #7f65c2; $custom-dark: #000000;
JSON
{
"hex": "#3a29a6",
"rgb": {
"r": 58,
"g": 41,
"b": 166
},
"hsl": {
"h": 248.16,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.39353,
"c": 0.18792,
"h": 279.5
},
"luminance": 0.05239
}Semantic roles & 50–950 ramp
primary
#3A29A6
secondary
#B6C269
accent
#E444CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81