#3A2EB2#3A2EB2
#3A2EB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.198 H 277.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EB2 |
|---|---|
| RGB | rgb(58, 46, 178) |
| HSL | hsl(245, 59%, 44%) |
| HSV | hsv(245, 74%, 70%) |
| CMYK | cmyk(67.4%, 74.2%, 0%, 30.2%) |
| CIE-LAB | lab(29.58, 45.37, -67.82) |
| CIE-LCH | lch(29.58, 81.60, 303.78°) |
| OKLab | oklab(41.26% 0.0252 -0.1959) |
| OKLCH | oklch(41.26% 0.198 277.3) |
| XYZ | xyz(10.7552, 6.0669, 42.7151) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Sapphire (survey)
#2138AB
ΔE00 4.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.53
Blurple
#5539CC
ΔE00 5.70
True Blue
#010FCC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EB2 #A6B22E
analogous
#2E64B2 #3A2EB2 #7C2EB2
triadic
#3A2EB2 #B23A2E #2EB23A
tetradic
#3A2EB2 #B22E64 #A6B22E #2EB27C
square
#3A2EB2 #B22E64 #A6B22E #2EB27C
split-complementary
#3A2EB2 #B27C2E #64B22E
monochromatic
#1A1551 #2A2181 #3A2EB2 #584CD1 #867DDD
Accessibility & contrast
On white
9.49
#3A2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#3A2EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EB2
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EB2 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2eb2; /* rgb */ color: rgb(58, 46, 178); /* oklch */ color: oklch(41.3% 0.198 277.3);
Tailwind
colors: {
custom: {
50: '#8169ca',
500: '#3a2eb2',
950: '#000000',
},
}SCSS
$custom: #3a2eb2; $custom-light: #8169ca; $custom-dark: #000000;
JSON
{
"hex": "#3a2eb2",
"rgb": {
"r": 58,
"g": 46,
"b": 178
},
"hsl": {
"h": 245.455,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.41257,
"c": 0.19755,
"h": 277.3
},
"luminance": 0.06068
}Semantic roles & 50–950 ramp
primary
#3A2EB2
secondary
#BFC676
accent
#E246D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82