#3A2EB3#3A2EB3
#3A2EB3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.199 H 277.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EB3 |
|---|---|
| RGB | rgb(58, 46, 179) |
| HSL | hsl(245, 59%, 44%) |
| HSV | hsv(245, 74%, 70%) |
| CMYK | cmyk(67.6%, 74.3%, 0%, 29.8%) |
| CIE-LAB | lab(29.68, 45.69, -68.25) |
| CIE-LCH | lch(29.68, 82.13, 303.80°) |
| OKLab | oklab(41.36% 0.025 -0.1972) |
| OKLCH | oklch(41.36% 0.199 277.2) |
| XYZ | xyz(10.8560, 6.1073, 43.2458) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Sapphire (survey)
#2138AB
ΔE00 4.42
Blue With A Hint Of Purple
#533CC6
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.51
Blurple
#5539CC
ΔE00 5.60
True Blue
#010FCC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EB3 #A7B32E
analogous
#2E64B3 #3A2EB3 #7D2EB3
triadic
#3A2EB3 #B33A2E #2EB33A
tetradic
#3A2EB3 #B32E64 #A7B32E #2EB37D
square
#3A2EB3 #B32E64 #A7B32E #2EB37D
split-complementary
#3A2EB3 #B37D2E #64B32E
monochromatic
#1A1552 #2A2182 #3A2EB3 #594DD1 #867EDE
Accessibility & contrast
On white
9.45
#3A2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#3A2EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EB3
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EB3 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2eb3; /* rgb */ color: rgb(58, 46, 179); /* oklch */ color: oklch(41.4% 0.199 277.2);
Tailwind
colors: {
custom: {
50: '#8169cb',
500: '#3a2eb3',
950: '#000000',
},
}SCSS
$custom: #3a2eb3; $custom-light: #8169cb; $custom-dark: #000000;
JSON
{
"hex": "#3a2eb3",
"rgb": {
"r": 58,
"g": 46,
"b": 179
},
"hsl": {
"h": 245.414,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.41359,
"c": 0.19876,
"h": 277.2
},
"luminance": 0.06108
}Semantic roles & 50–950 ramp
primary
#3A2EB3
secondary
#BFC676
accent
#E246D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82