#3A2FB3#3A2FB3
#3A2FB3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.198 H 277.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB3 |
|---|---|
| RGB | rgb(58, 47, 179) |
| HSL | hsl(245, 58%, 44%) |
| HSV | hsv(245, 74%, 70%) |
| CMYK | cmyk(67.6%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(29.88, 45.14, -67.93) |
| CIE-LCH | lch(29.88, 81.56, 303.60°) |
| OKLab | oklab(41.5% 0.0244 -0.1962) |
| OKLCH | oklch(41.5% 0.198 277.1) |
| XYZ | xyz(10.8955, 6.1863, 43.2590) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 4.38
Blue With A Hint Of Purple
#533CC6
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 5.31
Blurple
#5539CC
ΔE00 5.51
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB3 #A8B32F
analogous
#2F66B3 #3A2FB3 #7C2FB3
triadic
#3A2FB3 #B33A2F #2FB33A
tetradic
#3A2FB3 #B32F66 #A8B32F #2FB37C
square
#3A2FB3 #B32F66 #A8B32F #2FB37C
split-complementary
#3A2FB3 #B37C2F #66B32F
monochromatic
#1B1652 #2A2283 #3A2FB3 #594FD1 #877FDD
Accessibility & contrast
On white
9.39
#3A2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#3A2FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB3
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB3 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2fb3; /* rgb */ color: rgb(58, 47, 179); /* oklch */ color: oklch(41.5% 0.198 277.1);
Tailwind
colors: {
custom: {
50: '#816acb',
500: '#3a2fb3',
950: '#000000',
},
}SCSS
$custom: #3a2fb3; $custom-light: #816acb; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb3",
"rgb": {
"r": 58,
"g": 47,
"b": 179
},
"hsl": {
"h": 245,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41498,
"c": 0.19776,
"h": 277.1
},
"luminance": 0.06187
}Semantic roles & 50–950 ramp
primary
#3A2FB3
secondary
#C0C678
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82