#3A3EA2#3A3EA2
#3A3EA2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.158 H 275.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3EA2 |
|---|---|
| RGB | rgb(58, 62, 162) |
| HSL | hsl(238, 47%, 43%) |
| HSV | hsv(238, 64%, 64%) |
| CMYK | cmyk(64.2%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(31.70, 30.34, -54.75) |
| CIE-LCH | lch(31.70, 62.60, 298.99°) |
| OKLab | oklab(42.34% 0.0153 -0.1577) |
| OKLCH | oklch(42.34% 0.158 275.6) |
| XYZ | xyz(9.9870, 6.9526, 34.9911) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.95
Sapphire (survey)
#2138AB
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 4.29
Darkslateblue
#483D8B
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.36
Cobalt
#0047AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3EA2 #A29E3A
analogous
#3A72A2 #3A3EA2 #6A3AA2
triadic
#3A3EA2 #A23A3E #3EA23A
tetradic
#3A3EA2 #A23A72 #A29E3A #3AA26A
square
#3A3EA2 #A23A72 #A29E3A #3AA26A
split-complementary
#3A3EA2 #A26A3A #72A23A
monochromatic
#1A1C48 #2A2D75 #3A3EA2 #575BC3 #8487D3
Accessibility & contrast
On white
8.78
#3A3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#3A3EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3EA2
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3EA2 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3ea2; /* rgb */ color: rgb(58, 62, 162); /* oklch */ color: oklch(42.3% 0.158 275.6);
Tailwind
colors: {
custom: {
50: '#7c73be',
500: '#3a3ea2',
950: '#000000',
},
}SCSS
$custom: #3a3ea2; $custom-light: #7c73be; $custom-dark: #000000;
JSON
{
"hex": "#3a3ea2",
"rgb": {
"r": 58,
"g": 62,
"b": 162
},
"hsl": {
"h": 237.692,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.42344,
"c": 0.15839,
"h": 275.6
},
"luminance": 0.06953
}Semantic roles & 50–950 ramp
primary
#3A3EA2
secondary
#BDBA7B
accent
#D251D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81