#3A2AA6#3A2AA6
#3A2AA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.187 H 279.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AA6 |
|---|---|
| RGB | rgb(58, 42, 166) |
| HSL | hsl(248, 60%, 41%) |
| HSV | hsv(248, 75%, 65%) |
| CMYK | cmyk(65.1%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(27.59, 43.76, -63.89) |
| CIE-LCH | lch(27.59, 77.44, 304.40°) |
| OKLab | oklab(39.49% 0.0303 -0.1844) |
| OKLCH | oklch(39.49% 0.187 279.3) |
| XYZ | xyz(9.4536, 5.3079, 36.5953) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.52
Sapphire (survey)
#2138AB
ΔE00 5.06
Royal
#0C1793
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.25
Cobalt Blue
#030AA7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AA6 #96A62A
analogous
#2A58A6 #3A2AA6 #782AA6
triadic
#3A2AA6 #A63A2A #2AA63A
tetradic
#3A2AA6 #A62A58 #96A62A #2AA678
square
#3A2AA6 #A62A58 #96A62A #2AA678
split-complementary
#3A2AA6 #A6782A #58A62A
monochromatic
#181144 #291E75 #3A2AA6 #513FCE #7D70DB
Accessibility & contrast
On white
10.19
#3A2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3A2AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AA6
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AA6 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2aa6; /* rgb */ color: rgb(58, 42, 166); /* oklch */ color: oklch(39.5% 0.187 279.3);
Tailwind
colors: {
custom: {
50: '#7f66c2',
500: '#3a2aa6',
950: '#000000',
},
}SCSS
$custom: #3a2aa6; $custom-light: #7f66c2; $custom-dark: #000000;
JSON
{
"hex": "#3a2aa6",
"rgb": {
"r": 58,
"g": 42,
"b": 166
},
"hsl": {
"h": 247.742,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.39489,
"c": 0.18691,
"h": 279.3
},
"luminance": 0.05309
}Semantic roles & 50–950 ramp
primary
#3A2AA6
secondary
#B6C26A
accent
#E345CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81