#3F2FA5#3F2FA5
#3F2FA5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.179 H 280.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FA5 |
|---|---|
| RGB | rgb(63, 47, 165) |
| HSL | hsl(248, 56%, 42%) |
| HSV | hsv(248, 72%, 65%) |
| CMYK | cmyk(61.8%, 71.5%, 0%, 35.3%) |
| CIE-LAB | lab(28.92, 41.30, -61.10) |
| CIE-LCH | lch(28.92, 73.74, 304.05°) |
| OKLab | oklab(40.5% 0.034 -0.1761) |
| OKLCH | oklch(40.5% 0.179 280.9) |
| XYZ | xyz(9.8558, 5.8057, 36.1913) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 5.62
Blueberry
#464196
ΔE00 5.88
Blue With A Hint Of Purple
#533CC6
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FA5 #95A52F
analogous
#2F5AA5 #3F2FA5 #7A2FA5
triadic
#3F2FA5 #A53F2F #2FA53F
tetradic
#3F2FA5 #A52F5A #95A52F #2FA57A
square
#3F2FA5 #A52F5A #95A52F #2FA57A
split-complementary
#3F2FA5 #A57A2F #5AA52F
monochromatic
#1B1446 #2D2175 #3F2FA5 #5947CB #8476D8
Accessibility & contrast
On white
9.72
#3F2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3F2FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FA5
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FA5 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3f2fa5; /* rgb */ color: rgb(63, 47, 165); /* oklch */ color: oklch(40.5% 0.179 280.9);
Tailwind
colors: {
custom: {
50: '#8069c1',
500: '#3f2fa5',
950: '#000000',
},
}SCSS
$custom: #3f2fa5; $custom-light: #8069c1; $custom-dark: #000000;
JSON
{
"hex": "#3f2fa5",
"rgb": {
"r": 63,
"g": 47,
"b": 165
},
"hsl": {
"h": 248.136,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.40504,
"c": 0.17939,
"h": 280.9
},
"luminance": 0.05806
}Semantic roles & 50–950 ramp
primary
#3F2FA5
secondary
#B5C070
accent
#DF49CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81