#3F2FA0#3F2FA0
#3F2FA0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.173 H 281.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FA0 |
|---|---|
| RGB | rgb(63, 47, 160) |
| HSL | hsl(248, 55%, 41%) |
| HSV | hsv(248, 71%, 63%) |
| CMYK | cmyk(60.6%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(28.45, 39.70, -58.83) |
| CIE-LCH | lch(28.45, 70.98, 304.01°) |
| OKLab | oklab(40.03% 0.0349 -0.1695) |
| OKLCH | oklch(40.03% 0.173 281.6) |
| XYZ | xyz(9.4096, 5.6272, 33.8412) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.83
Indigo Blue
#3A18B1
ΔE00 4.96
Blueberry
#464196
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FA0 #90A02F
analogous
#2F57A0 #3F2FA0 #772FA0
triadic
#3F2FA0 #A03F2F #2FA03F
tetradic
#3F2FA0 #A02F57 #90A02F #2FA077
square
#3F2FA0 #A02F57 #90A02F #2FA077
split-complementary
#3F2FA0 #A0772F #57A02F
monochromatic
#1A1341 #2C2171 #3F2FA0 #5744C8 #8173D6
Accessibility & contrast
On white
9.88
#3F2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#3F2FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FA0
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FA0 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f2fa0; /* rgb */ color: rgb(63, 47, 160); /* oklch */ color: oklch(40.0% 0.173 281.6);
Tailwind
colors: {
custom: {
50: '#7f69bd',
500: '#3f2fa0',
950: '#000000',
},
}SCSS
$custom: #3f2fa0; $custom-light: #7f69bd; $custom-dark: #000000;
JSON
{
"hex": "#3f2fa0",
"rgb": {
"r": 63,
"g": 47,
"b": 160
},
"hsl": {
"h": 248.496,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.4003,
"c": 0.17307,
"h": 281.6
},
"luminance": 0.05628
}Semantic roles & 50–950 ramp
primary
#3F2FA0
secondary
#B2BE6D
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81