#3A2BA6#3A2BA6
#3A2BA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.186 H 279.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BA6 |
|---|---|
| RGB | rgb(58, 43, 166) |
| HSL | hsl(247, 59%, 41%) |
| HSV | hsv(247, 74%, 65%) |
| CMYK | cmyk(65.1%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(27.79, 43.20, -63.57) |
| CIE-LCH | lch(27.79, 76.86, 304.20°) |
| OKLab | oklab(39.63% 0.0297 -0.1835) |
| OKLCH | oklch(39.63% 0.186 279.2) |
| XYZ | xyz(9.4895, 5.3797, 36.6073) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.74
Sapphire (survey)
#2138AB
ΔE00 4.86
Royal
#0C1793
ΔE00 6.22
True Blue
#010FCC
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.47
Violet Blue
#510AC9
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BA6 #97A62B
analogous
#2B59A6 #3A2BA6 #772BA6
triadic
#3A2BA6 #A63A2B #2BA63A
tetradic
#3A2BA6 #A62B59 #97A62B #2BA677
square
#3A2BA6 #A62B59 #97A62B #2BA677
split-complementary
#3A2BA6 #A6772B #59A62B
monochromatic
#181245 #291E75 #3A2BA6 #5241CE #7E71DA
Accessibility & contrast
On white
10.12
#3A2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BA6
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BA6 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ba6; /* rgb */ color: rgb(58, 43, 166); /* oklch */ color: oklch(39.6% 0.186 279.2);
Tailwind
colors: {
custom: {
50: '#7f67c2',
500: '#3a2ba6',
950: '#000000',
},
}SCSS
$custom: #3a2ba6; $custom-light: #7f67c2; $custom-dark: #000000;
JSON
{
"hex": "#3a2ba6",
"rgb": {
"r": 58,
"g": 43,
"b": 166
},
"hsl": {
"h": 247.317,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.39628,
"c": 0.18588,
"h": 279.2
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#3A2BA6
secondary
#B7C16B
accent
#E246CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81