#3A2BAB#3A2BAB
#3A2BAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.192 H 278.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BAB |
|---|---|
| RGB | rgb(58, 43, 171) |
| HSL | hsl(247, 60%, 42%) |
| HSV | hsv(247, 75%, 67%) |
| CMYK | cmyk(66.1%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.29, 44.79, -65.76) |
| CIE-LCH | lch(28.29, 79.56, 304.26°) |
| OKLab | oklab(40.13% 0.0286 -0.1899) |
| OKLCH | oklch(40.13% 0.192 278.6) |
| XYZ | xyz(9.9571, 5.5667, 39.0699) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.52
Sapphire (survey)
#2138AB
ΔE00 4.82
True Blue
#010FCC
ΔE00 5.86
Violet Blue
#510AC9
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.33
Ultramarine
#2000B1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BAB #9CAB2B
analogous
#2B5CAB #3A2BAB #7A2BAB
triadic
#3A2BAB #AB3A2B #2BAB3A
tetradic
#3A2BAB #AB2B5C #9CAB2B #2BAB7A
square
#3A2BAB #AB2B5C #9CAB2B #2BAB7A
split-complementary
#3A2BAB #AB7A2B #5CAB2B
monochromatic
#191249 #291F7A #3A2BAB #5443D0 #8074DC
Accessibility & contrast
On white
9.94
#3A2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3A2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BAB
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BAB | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a2bab; /* rgb */ color: rgb(58, 43, 171); /* oklch */ color: oklch(40.1% 0.192 278.6);
Tailwind
colors: {
custom: {
50: '#8067c5',
500: '#3a2bab',
950: '#000000',
},
}SCSS
$custom: #3a2bab; $custom-light: #8067c5; $custom-dark: #000000;
JSON
{
"hex": "#3a2bab",
"rgb": {
"r": 58,
"g": 43,
"b": 171
},
"hsl": {
"h": 247.031,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.40134,
"c": 0.19202,
"h": 278.6
},
"luminance": 0.05568
}Semantic roles & 50–950 ramp
primary
#3A2BAB
secondary
#BAC46E
accent
#E345D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82