#3A2EA3#3A2EA3
#3A2EA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.179 H 279.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EA3 |
|---|---|
| RGB | rgb(58, 46, 163) |
| HSL | hsl(246, 56%, 41%) |
| HSV | hsv(246, 72%, 64%) |
| CMYK | cmyk(64.4%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(28.11, 40.54, -61.23) |
| CIE-LCH | lch(28.11, 73.44, 303.51°) |
| OKLab | oklab(39.76% 0.0282 -0.1767) |
| OKLCH | oklch(39.76% 0.179 279.1) |
| XYZ | xyz(9.3307, 5.4971, 35.2126) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.59
Blueberry
#464196
ΔE00 6.05
Ocean Blue
#4F42B5
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.45
Royal
#0C1793
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EA3 #97A32E
analogous
#2E5CA3 #3A2EA3 #742EA3
triadic
#3A2EA3 #A33A2E #2EA33A
tetradic
#3A2EA3 #A32E5C #97A32E #2EA374
square
#3A2EA3 #A32E5C #97A32E #2EA374
split-complementary
#3A2EA3 #A3742E #5CA32E
monochromatic
#181344 #292173 #3A2EA3 #5244CA #7E74D8
Accessibility & contrast
On white
10.00
#3A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3A2EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EA3
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EA3 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ea3; /* rgb */ color: rgb(58, 46, 163); /* oklch */ color: oklch(39.8% 0.179 279.1);
Tailwind
colors: {
custom: {
50: '#7e68bf',
500: '#3a2ea3',
950: '#000000',
},
}SCSS
$custom: #3a2ea3; $custom-light: #7e68bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ea3",
"rgb": {
"r": 58,
"g": 46,
"b": 163
},
"hsl": {
"h": 246.154,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.39764,
"c": 0.17893,
"h": 279.1
},
"luminance": 0.05498
}Semantic roles & 50–950 ramp
primary
#3A2EA3
secondary
#B7BF6D
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81