#3F2FB5#3F2FB5
#3F2FB5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.1% C 0.199 H 278.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FB5 |
|---|---|
| RGB | rgb(63, 47, 181) |
| HSL | hsl(247, 59%, 45%) |
| HSV | hsv(247, 74%, 71%) |
| CMYK | cmyk(65.2%, 74%, 0%, 29%) |
| CIE-LAB | lab(30.46, 46.35, -68.15) |
| CIE-LCH | lch(30.46, 82.41, 304.22°) |
| OKLab | oklab(42.07% 0.0308 -0.1967) |
| OKLCH | oklch(42.07% 0.199 278.9) |
| XYZ | xyz(11.4042, 6.4251, 44.3463) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.38
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 4.80
Blurple
#5539CC
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.05
Purple Blue
#5D21D0
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FB5 #A5B52F
analogous
#2F62B5 #3F2FB5 #822FB5
triadic
#3F2FB5 #B53F2F #2FB53F
tetradic
#3F2FB5 #B52F62 #A5B52F #2FB582
square
#3F2FB5 #B52F62 #A5B52F #2FB582
split-complementary
#3F2FB5 #B5822F #62B52F
monochromatic
#1D1654 #2E2284 #3F2FB5 #5F50D1 #8C80DE
Accessibility & contrast
On white
9.19
#3F2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#3F2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FB5
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FB5 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3f2fb5; /* rgb */ color: rgb(63, 47, 181); /* oklch */ color: oklch(42.1% 0.199 278.9);
Tailwind
colors: {
custom: {
50: '#846acc',
500: '#3f2fb5',
950: '#000000',
},
}SCSS
$custom: #3f2fb5; $custom-light: #846acc; $custom-dark: #000000;
JSON
{
"hex": "#3f2fb5",
"rgb": {
"r": 63,
"g": 47,
"b": 181
},
"hsl": {
"h": 247.164,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.42069,
"c": 0.19913,
"h": 278.9
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#3F2FB5
secondary
#BEC779
accent
#E246CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82