#3F2FB4#3F2FB4
#3F2FB4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.198 H 279.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FB4 |
|---|---|
| RGB | rgb(63, 47, 180) |
| HSL | hsl(247, 59%, 45%) |
| HSV | hsv(247, 74%, 71%) |
| CMYK | cmyk(65%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(30.36, 46.04, -67.71) |
| CIE-LCH | lch(30.36, 81.88, 304.21°) |
| OKLab | oklab(41.97% 0.031 -0.1955) |
| OKLCH | oklch(41.97% 0.198 279) |
| XYZ | xyz(11.3020, 6.3842, 43.8078) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.77
Blue With A Hint Of Purple
#533CC6
ΔE00 4.77
Blurple
#5539CC
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.06
Violet Blue
#510AC9
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FB4 #A4B42F
analogous
#2F62B4 #3F2FB4 #822FB4
triadic
#3F2FB4 #B43F2F #2FB43F
tetradic
#3F2FB4 #B42F62 #A4B42F #2FB482
square
#3F2FB4 #B42F62 #A4B42F #2FB482
split-complementary
#3F2FB4 #B4822F #62B42F
monochromatic
#1D1653 #2E2283 #3F2FB4 #5F4FD1 #8B80DE
Accessibility & contrast
On white
9.22
#3F2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#3F2FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FB4
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FB4 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3f2fb4; /* rgb */ color: rgb(63, 47, 180); /* oklch */ color: oklch(42.0% 0.198 279.0);
Tailwind
colors: {
custom: {
50: '#836acc',
500: '#3f2fb4',
950: '#000000',
},
}SCSS
$custom: #3f2fb4; $custom-light: #836acc; $custom-dark: #000000;
JSON
{
"hex": "#3f2fb4",
"rgb": {
"r": 63,
"g": 47,
"b": 180
},
"hsl": {
"h": 247.218,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.41969,
"c": 0.19792,
"h": 279
},
"luminance": 0.06385
}Semantic roles & 50–950 ramp
primary
#3F2FB4
secondary
#BDC778
accent
#E246CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82