#3A3AB2#3A3AB2
#3A3AB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.185 H 275.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3AB2 |
|---|---|
| RGB | rgb(58, 58, 178) |
| HSL | hsl(240, 51%, 46%) |
| HSV | hsv(240, 67%, 70%) |
| CMYK | cmyk(67.4%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(32.12, 38.37, -63.65) |
| CIE-LCH | lch(32.12, 74.32, 301.09°) |
| OKLab | oklab(43.08% 0.0173 -0.1837) |
| OKLCH | oklch(43.08% 0.185 275.4) |
| XYZ | xyz(11.2912, 7.1390, 42.8938) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 3.41
Blue Blue
#2242C7
ΔE00 4.11
Blue With A Hint Of Purple
#533CC6
ΔE00 4.52
Blueberry
#464196
ΔE00 5.17
Blurple
#5539CC
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3AB2 #B2B23A
analogous
#3A76B2 #3A3AB2 #763AB2
triadic
#3A3AB2 #B23A3A #3AB23A
tetradic
#3A3AB2 #B23A76 #B2B23A #3AB276
square
#3A3AB2 #B23A76 #B2B23A #3AB276
split-complementary
#3A3AB2 #B2763A #76B23A
monochromatic
#1C1C56 #2B2B84 #3A3AB2 #5F5FCB #8D8DDA
Accessibility & contrast
On white
8.65
#3A3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#3A3AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3AB2
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3AB2 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3a3ab2; /* rgb */ color: rgb(58, 58, 178); /* oklch */ color: oklch(43.1% 0.185 275.4);
Tailwind
colors: {
custom: {
50: '#8071ca',
500: '#3a3ab2',
950: '#000000',
},
}SCSS
$custom: #3a3ab2; $custom-light: #8071ca; $custom-dark: #000000;
JSON
{
"hex": "#3a3ab2",
"rgb": {
"r": 58,
"g": 58,
"b": 178
},
"hsl": {
"h": 240,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.43078,
"c": 0.18456,
"h": 275.4
},
"luminance": 0.0714
}Semantic roles & 50–950 ramp
primary
#3A3AB2
secondary
#C4C483
accent
#DA4DDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82