#3F2CA2#3F2CA2
#3F2CA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.179 H 281.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2CA2 |
|---|---|
| RGB | rgb(63, 44, 162) |
| HSL | hsl(250, 57%, 40%) |
| HSV | hsv(250, 73%, 64%) |
| CMYK | cmyk(61.1%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(28.02, 42.04, -60.75) |
| CIE-LCH | lch(28.02, 73.88, 304.68°) |
| OKLab | oklab(39.78% 0.0369 -0.1751) |
| OKLCH | oklch(39.78% 0.179 281.9) |
| XYZ | xyz(9.4701, 5.4661, 34.7314) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 6.38
Blueberry
#464196
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.55
Royal
#0C1793
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2CA2 #8FA22C
analogous
#2C54A2 #3F2CA2 #7A2CA2
triadic
#3F2CA2 #A23F2C #2CA23F
tetradic
#3F2CA2 #A22C54 #8FA22C #2CA27A
square
#3F2CA2 #A22C54 #8FA22C #2CA27A
split-complementary
#3F2CA2 #A27A2C #54A22C
monochromatic
#1A1242 #2C1F72 #3F2CA2 #5640CB #8170D8
Accessibility & contrast
On white
10.03
#3F2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2CA2
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2CA2 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f2ca2; /* rgb */ color: rgb(63, 44, 162); /* oklch */ color: oklch(39.8% 0.179 281.9);
Tailwind
colors: {
custom: {
50: '#8067bf',
500: '#3f2ca2',
950: '#000000',
},
}SCSS
$custom: #3f2ca2; $custom-light: #8067bf; $custom-dark: #000000;
JSON
{
"hex": "#3f2ca2",
"rgb": {
"r": 63,
"g": 44,
"b": 162
},
"hsl": {
"h": 249.661,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.39782,
"c": 0.17895,
"h": 281.9
},
"luminance": 0.05467
}Semantic roles & 50–950 ramp
primary
#3F2CA2
secondary
#B2BF6A
accent
#E147C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81