#3F2EA6#3F2EA6
#3F2EA6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.182 H 281.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2EA6 |
|---|---|
| RGB | rgb(63, 46, 166) |
| HSL | hsl(249, 57%, 42%) |
| HSV | hsv(249, 72%, 65%) |
| CMYK | cmyk(62%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(28.81, 42.18, -61.88) |
| CIE-LCH | lch(28.81, 74.89, 304.28°) |
| OKLab | oklab(40.46% 0.0346 -0.1784) |
| OKLCH | oklch(40.46% 0.182 281) |
| XYZ | xyz(9.9077, 5.7632, 36.6593) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.76
Blueberry
#464196
ΔE00 6.17
Blue With A Hint Of Purple
#533CC6
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2EA6 #95A62E
analogous
#2E59A6 #3F2EA6 #7B2EA6
triadic
#3F2EA6 #A63F2E #2EA63F
tetradic
#3F2EA6 #A62E59 #95A62E #2EA67B
square
#3F2EA6 #A62E59 #95A62E #2EA67B
split-complementary
#3F2EA6 #A67B2E #59A62E
monochromatic
#1B1346 #2D2176 #3F2EA6 #5946CC #8476D9
Accessibility & contrast
On white
9.75
#3F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#3F2EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2EA6
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2EA6 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3f2ea6; /* rgb */ color: rgb(63, 46, 166); /* oklch */ color: oklch(40.5% 0.182 281.0);
Tailwind
colors: {
custom: {
50: '#8169c2',
500: '#3f2ea6',
950: '#000000',
},
}SCSS
$custom: #3f2ea6; $custom-light: #8169c2; $custom-dark: #000000;
JSON
{
"hex": "#3f2ea6",
"rgb": {
"r": 63,
"g": 46,
"b": 166
},
"hsl": {
"h": 248.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.40455,
"c": 0.18175,
"h": 281
},
"luminance": 0.05764
}Semantic roles & 50–950 ramp
primary
#3F2EA6
secondary
#B5C16F
accent
#E048CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81