#3A2FB0#3A2FB0
#3A2FB0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.194 H 277.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB0 |
|---|---|
| RGB | rgb(58, 47, 176) |
| HSL | hsl(245, 58%, 44%) |
| HSV | hsv(245, 73%, 69%) |
| CMYK | cmyk(67%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(29.58, 44.18, -66.63) |
| CIE-LCH | lch(29.58, 79.95, 303.54°) |
| OKLab | oklab(41.2% 0.025 -0.1925) |
| OKLCH | oklch(41.2% 0.194 277.4) |
| XYZ | xyz(10.5954, 6.0662, 41.6784) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 5.38
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Blurple
#5539CC
ΔE00 5.81
True Blue
#010FCC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB0 #A5B02F
analogous
#2F64B0 #3A2FB0 #7A2FB0
triadic
#3A2FB0 #B03A2F #2FB03A
tetradic
#3A2FB0 #B02F64 #A5B02F #2FB07A
square
#3A2FB0 #B02F64 #A5B02F #2FB07A
split-complementary
#3A2FB0 #B07A2F #64B02F
monochromatic
#1A154F #2A2280 #3A2FB0 #584DCF #857DDC
Accessibility & contrast
On white
9.49
#3A2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#3A2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB0
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB0 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2fb0; /* rgb */ color: rgb(58, 47, 176); /* oklch */ color: oklch(41.2% 0.194 277.4);
Tailwind
colors: {
custom: {
50: '#8069c9',
500: '#3a2fb0',
950: '#000000',
},
}SCSS
$custom: #3a2fb0; $custom-light: #8069c9; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb0",
"rgb": {
"r": 58,
"g": 47,
"b": 176
},
"hsl": {
"h": 245.116,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.41196,
"c": 0.19408,
"h": 277.4
},
"luminance": 0.06067
}Semantic roles & 50–950 ramp
primary
#3A2FB0
secondary
#BEC576
accent
#E147D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82