#3F2CA1#3F2CA1
#3F2CA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.178 H 282.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2CA1 |
|---|---|
| RGB | rgb(63, 44, 161) |
| HSL | hsl(250, 57%, 40%) |
| HSV | hsv(250, 73%, 63%) |
| CMYK | cmyk(60.9%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(27.93, 41.73, -60.30) |
| CIE-LCH | lch(27.93, 73.33, 304.68°) |
| OKLab | oklab(39.68% 0.0371 -0.1738) |
| OKLCH | oklch(39.68% 0.178 282) |
| XYZ | xyz(9.3816, 5.4307, 34.2652) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 5.30
Blueberry
#464196
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.47
Royal
#0C1793
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2CA1 #8EA12C
analogous
#2C53A1 #3F2CA1 #7A2CA1
triadic
#3F2CA1 #A13F2C #2CA13F
tetradic
#3F2CA1 #A12C53 #8EA12C #2CA17A
square
#3F2CA1 #A12C53 #8EA12C #2CA17A
split-complementary
#3F2CA1 #A17A2C #53A12C
monochromatic
#191241 #2C1F71 #3F2CA1 #5640CB #8170D8
Accessibility & contrast
On white
10.07
#3F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2CA1
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2CA1 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f2ca1; /* rgb */ color: rgb(63, 44, 161); /* oklch */ color: oklch(39.7% 0.178 282.0);
Tailwind
colors: {
custom: {
50: '#8067be',
500: '#3f2ca1',
950: '#000000',
},
}SCSS
$custom: #3f2ca1; $custom-light: #8067be; $custom-dark: #000000;
JSON
{
"hex": "#3f2ca1",
"rgb": {
"r": 63,
"g": 44,
"b": 161
},
"hsl": {
"h": 249.744,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.39685,
"c": 0.17772,
"h": 282
},
"luminance": 0.05431
}Semantic roles & 50–950 ramp
primary
#3F2CA1
secondary
#B1BF6A
accent
#E047C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81