#3A2EAB#3A2EAB
#3A2EAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.189 H 278.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EAB |
|---|---|
| RGB | rgb(58, 46, 171) |
| HSL | hsl(246, 58%, 43%) |
| HSV | hsv(246, 73%, 67%) |
| CMYK | cmyk(66.1%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(28.88, 43.13, -64.78) |
| CIE-LCH | lch(28.88, 77.82, 303.65°) |
| OKLab | oklab(40.55% 0.0267 -0.187) |
| OKLCH | oklch(40.55% 0.189 278.1) |
| XYZ | xyz(10.0702, 5.7930, 39.1077) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.21
Sapphire (survey)
#2138AB
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.33
Blurple
#5539CC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EAB #9FAB2E
analogous
#2E60AB #3A2EAB #792EAB
triadic
#3A2EAB #AB3A2E #2EAB3A
tetradic
#3A2EAB #AB2E60 #9FAB2E #2EAB79
square
#3A2EAB #AB2E60 #9FAB2E #2EAB79
split-complementary
#3A2EAB #AB792E #60AB2E
monochromatic
#19144B #2A217B #3A2EAB #5548CE #8279DB
Accessibility & contrast
On white
9.73
#3A2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3A2EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EAB
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EAB | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a2eab; /* rgb */ color: rgb(58, 46, 171); /* oklch */ color: oklch(40.6% 0.189 278.1);
Tailwind
colors: {
custom: {
50: '#7f69c5',
500: '#3a2eab',
950: '#000000',
},
}SCSS
$custom: #3a2eab; $custom-light: #7f69c5; $custom-dark: #000000;
JSON
{
"hex": "#3a2eab",
"rgb": {
"r": 58,
"g": 46,
"b": 171
},
"hsl": {
"h": 245.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.40553,
"c": 0.18894,
"h": 278.1
},
"luminance": 0.05794
}Semantic roles & 50–950 ramp
primary
#3A2EAB
secondary
#BBC372
accent
#E147D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82