#3A3BA2#3A3BA2
#3A3BA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.162 H 276.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3BA2 |
|---|---|
| RGB | rgb(58, 59, 162) |
| HSL | hsl(239, 47%, 43%) |
| HSV | hsv(239, 64%, 64%) |
| CMYK | cmyk(64.2%, 63.6%, 0%, 36.5%) |
| CIE-LAB | lab(30.96, 32.26, -55.95) |
| CIE-LCH | lch(30.96, 64.59, 299.97°) |
| OKLab | oklab(41.8% 0.018 -0.1612) |
| OKLCH | oklch(41.8% 0.162 276.4) |
| XYZ | xyz(9.8284, 6.6353, 34.9382) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Blueberry
#464196
ΔE00 3.28
Ocean Blue
#4F42B5
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3BA2 #A2A13A
analogous
#3A6FA2 #3A3BA2 #6D3AA2
triadic
#3A3BA2 #A23A3B #3BA23A
tetradic
#3A3BA2 #A23A6F #A2A13A #3AA26D
square
#3A3BA2 #A23A6F #A2A13A #3AA26D
split-complementary
#3A3BA2 #A26D3A #6FA23A
monochromatic
#1A1A48 #2A2B75 #3A3BA2 #5758C3 #8484D3
Accessibility & contrast
On white
9.02
#3A3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#3A3BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3BA2
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3BA2 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3a3ba2; /* rgb */ color: rgb(58, 59, 162); /* oklch */ color: oklch(41.8% 0.162 276.4);
Tailwind
colors: {
custom: {
50: '#7c71be',
500: '#3a3ba2',
950: '#000000',
},
}SCSS
$custom: #3a3ba2; $custom-light: #7c71be; $custom-dark: #000000;
JSON
{
"hex": "#3a3ba2",
"rgb": {
"r": 58,
"g": 59,
"b": 162
},
"hsl": {
"h": 239.423,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.41803,
"c": 0.16219,
"h": 276.4
},
"luminance": 0.06636
}Semantic roles & 50–950 ramp
primary
#3A3BA2
secondary
#BDBC7B
accent
#D651D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81