#3A3FA2#3A3FA2
#3A3FA2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.157 H 275.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FA2 |
|---|---|
| RGB | rgb(58, 63, 162) |
| HSL | hsl(237, 47%, 43%) |
| HSV | hsv(237, 64%, 64%) |
| CMYK | cmyk(64.2%, 61.1%, 0%, 36.5%) |
| CIE-LAB | lab(31.95, 29.70, -54.35) |
| CIE-LCH | lch(31.95, 61.93, 298.65°) |
| OKLab | oklab(42.53% 0.0145 -0.1564) |
| OKLCH | oklch(42.53% 0.157 275.3) |
| XYZ | xyz(10.0419, 7.0624, 35.0094) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.91
Sapphire (survey)
#2138AB
ΔE00 3.22
Ocean Blue
#4F42B5
ΔE00 4.31
Darkslateblue
#483D8B
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.30
Cobalt
#0047AB
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FA2 #A29D3A
analogous
#3A73A2 #3A3FA2 #693AA2
triadic
#3A3FA2 #A23A3F #3FA23A
tetradic
#3A3FA2 #A23A73 #A29D3A #3AA269
square
#3A3FA2 #A23A73 #A29D3A #3AA269
split-complementary
#3A3FA2 #A2693A #73A23A
monochromatic
#1A1C48 #2A2D75 #3A3FA2 #575CC3 #8487D3
Accessibility & contrast
On white
8.70
#3A3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3A3FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FA2
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FA2 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3fa2; /* rgb */ color: rgb(58, 63, 162); /* oklch */ color: oklch(42.5% 0.157 275.3);
Tailwind
colors: {
custom: {
50: '#7c74be',
500: '#3a3fa2',
950: '#000000',
},
}SCSS
$custom: #3a3fa2; $custom-light: #7c74be; $custom-dark: #000000;
JSON
{
"hex": "#3a3fa2",
"rgb": {
"r": 58,
"g": 63,
"b": 162
},
"hsl": {
"h": 237.115,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.42528,
"c": 0.15711,
"h": 275.3
},
"luminance": 0.07063
}Semantic roles & 50–950 ramp
primary
#3A3FA2
secondary
#BDBA7B
accent
#D051D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81