#3A2FB7#3A2FB7
#3A2FB7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.203 H 276.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB7 |
|---|---|
| RGB | rgb(58, 47, 183) |
| HSL | hsl(245, 59%, 45%) |
| HSV | hsv(245, 74%, 72%) |
| CMYK | cmyk(68.3%, 74.3%, 0%, 28.2%) |
| CIE-LAB | lab(30.28, 46.42, -69.64) |
| CIE-LCH | lch(30.28, 83.70, 303.68°) |
| OKLab | oklab(41.9% 0.0236 -0.2013) |
| OKLCH | oklch(41.9% 0.203 276.7) |
| XYZ | xyz(11.3059, 6.3505, 45.4205) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Indigo Blue
#3A18B1
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 4.88
Blurple
#5539CC
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.26
True Blue
#010FCC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB7 #ACB72F
analogous
#2F68B7 #3A2FB7 #7E2FB7
triadic
#3A2FB7 #B73A2F #2FB73A
tetradic
#3A2FB7 #B72F68 #ACB72F #2FB77E
square
#3A2FB7 #B72F68 #ACB72F #2FB77E
split-complementary
#3A2FB7 #B77E2F #68B72F
monochromatic
#1B1656 #2B2286 #3A2FB7 #5B51D2 #8982DF
Accessibility & contrast
On white
9.25
#3A2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#3A2FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB7
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB7 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a2fb7; /* rgb */ color: rgb(58, 47, 183); /* oklch */ color: oklch(41.9% 0.203 276.7);
Tailwind
colors: {
custom: {
50: '#826ace',
500: '#3a2fb7',
950: '#000000',
},
}SCSS
$custom: #3a2fb7; $custom-light: #826ace; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb7",
"rgb": {
"r": 58,
"g": 47,
"b": 183
},
"hsl": {
"h": 244.853,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.41904,
"c": 0.20263,
"h": 276.7
},
"luminance": 0.06351
}Semantic roles & 50–950 ramp
primary
#3A2FB7
secondary
#C2C87A
accent
#E245D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82