#3F2FA2#3F2FA2
#3F2FA2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.176 H 281.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FA2 |
|---|---|
| RGB | rgb(63, 47, 162) |
| HSL | hsl(248, 55%, 41%) |
| HSV | hsv(248, 71%, 64%) |
| CMYK | cmyk(61.1%, 71%, 0%, 36.5%) |
| CIE-LAB | lab(28.64, 40.34, -59.74) |
| CIE-LCH | lch(28.64, 72.09, 304.03°) |
| OKLab | oklab(40.22% 0.0346 -0.1722) |
| OKLCH | oklch(40.22% 0.176 281.3) |
| XYZ | xyz(9.5860, 5.6978, 34.7700) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 4.81
Blueberry
#464196
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.02
Blue With A Hint Of Purple
#533CC6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FA2 #92A22F
analogous
#2F58A2 #3F2FA2 #782FA2
triadic
#3F2FA2 #A23F2F #2FA23F
tetradic
#3F2FA2 #A22F58 #92A22F #2FA278
square
#3F2FA2 #A22F58 #92A22F #2FA278
split-complementary
#3F2FA2 #A2782F #58A22F
monochromatic
#1A1343 #2D2173 #3F2FA2 #5745C9 #8275D7
Accessibility & contrast
On white
9.81
#3F2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#3F2FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FA2
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FA2 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3f2fa2; /* rgb */ color: rgb(63, 47, 162); /* oklch */ color: oklch(40.2% 0.176 281.3);
Tailwind
colors: {
custom: {
50: '#8069bf',
500: '#3f2fa2',
950: '#000000',
},
}SCSS
$custom: #3f2fa2; $custom-light: #8069bf; $custom-dark: #000000;
JSON
{
"hex": "#3f2fa2",
"rgb": {
"r": 63,
"g": 47,
"b": 162
},
"hsl": {
"h": 248.348,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.40219,
"c": 0.17561,
"h": 281.3
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#3F2FA2
secondary
#B3BF6E
accent
#DE49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81