#3F2FB6#3F2FB6
#3F2FB6 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.200 H 278.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FB6 |
|---|---|
| RGB | rgb(63, 47, 182) |
| HSL | hsl(247, 59%, 45%) |
| HSV | hsv(247, 74%, 71%) |
| CMYK | cmyk(65.4%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(30.56, 46.66, -68.58) |
| CIE-LCH | lch(30.56, 82.95, 304.23°) |
| OKLab | oklab(42.17% 0.0305 -0.198) |
| OKLCH | oklch(42.17% 0.2 278.8) |
| XYZ | xyz(11.5072, 6.4662, 44.8886) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.85
Blurple
#5539CC
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 5.04
Purple Blue
#5D21D0
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FB6 #A6B62F
analogous
#2F63B6 #3F2FB6 #822FB6
triadic
#3F2FB6 #B63F2F #2FB63F
tetradic
#3F2FB6 #B62F63 #A6B62F #2FB682
square
#3F2FB6 #B62F63 #A6B62F #2FB682
split-complementary
#3F2FB6 #B6822F #63B62F
monochromatic
#1D1655 #2E2285 #3F2FB6 #6050D2 #8C81DE
Accessibility & contrast
On white
9.16
#3F2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#3F2FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FB6
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FB6 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3f2fb6; /* rgb */ color: rgb(63, 47, 182); /* oklch */ color: oklch(42.2% 0.200 278.8);
Tailwind
colors: {
custom: {
50: '#846acd',
500: '#3f2fb6',
950: '#000000',
},
}SCSS
$custom: #3f2fb6; $custom-light: #846acd; $custom-dark: #000000;
JSON
{
"hex": "#3f2fb6",
"rgb": {
"r": 63,
"g": 47,
"b": 182
},
"hsl": {
"h": 247.111,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.42168,
"c": 0.20034,
"h": 278.8
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#3F2FB6
secondary
#BEC779
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82