#3F2FA8#3F2FA8
#3F2FA8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.183 H 280.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2FA8 |
|---|---|
| RGB | rgb(63, 47, 168) |
| HSL | hsl(248, 56%, 42%) |
| HSV | hsv(248, 72%, 66%) |
| CMYK | cmyk(62.5%, 72%, 0%, 34.1%) |
| CIE-LAB | lab(29.20, 42.25, -62.44) |
| CIE-LCH | lch(29.20, 75.39, 304.08°) |
| OKLab | oklab(40.79% 0.0334 -0.1801) |
| OKLCH | oklch(40.79% 0.183 280.5) |
| XYZ | xyz(10.1321, 5.9162, 37.6462) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 5.45
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Blueberry
#464196
ΔE00 6.08
Blurple
#5539CC
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2FA8 #98A82F
analogous
#2F5CA8 #3F2FA8 #7C2FA8
triadic
#3F2FA8 #A83F2F #2FA83F
tetradic
#3F2FA8 #A82F5C #98A82F #2FA87C
square
#3F2FA8 #A82F5C #98A82F #2FA87C
split-complementary
#3F2FA8 #A87C2F #5CA82F
monochromatic
#1B1448 #2D2278 #3F2FA8 #5A48CC #8578D9
Accessibility & contrast
On white
9.62
#3F2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3F2FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2FA8
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2FA8 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f2fa8; /* rgb */ color: rgb(63, 47, 168); /* oklch */ color: oklch(40.8% 0.183 280.5);
Tailwind
colors: {
custom: {
50: '#8169c3',
500: '#3f2fa8',
950: '#000000',
},
}SCSS
$custom: #3f2fa8; $custom-light: #8169c3; $custom-dark: #000000;
JSON
{
"hex": "#3f2fa8",
"rgb": {
"r": 63,
"g": 47,
"b": 168
},
"hsl": {
"h": 247.934,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.40792,
"c": 0.18315,
"h": 280.5
},
"luminance": 0.05917
}Semantic roles & 50–950 ramp
primary
#3F2FA8
secondary
#B7C171
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82