#3F2D9F#3F2D9F
#3F2D9F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.174 H 282.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2D9F |
|---|---|
| RGB | rgb(63, 45, 159) |
| HSL | hsl(249, 56%, 40%) |
| HSV | hsv(249, 72%, 62%) |
| CMYK | cmyk(60.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.94, 40.53, -59.06) |
| CIE-LCH | lch(27.94, 71.63, 304.46°) |
| OKLab | oklab(39.64% 0.0367 -0.1702) |
| OKLCH | oklch(39.64% 0.174 282.2) |
| XYZ | xyz(9.2443, 5.4361, 33.3563) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.21
Blueberry
#464196
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.39
Royal
#0C1793
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2D9F #8D9F2D
analogous
#2D549F #3F2D9F #782D9F
triadic
#3F2D9F #9F3F2D #2D9F3F
tetradic
#3F2D9F #9F2D54 #8D9F2D #2D9F78
square
#3F2D9F #9F2D54 #8D9F2D #2D9F78
split-complementary
#3F2D9F #9F782D #549F2D
monochromatic
#191240 #2C206F #3F2D9F #5640C9 #8070D6
Accessibility & contrast
On white
10.06
#3F2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2D9F
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2D9F | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f2d9f; /* rgb */ color: rgb(63, 45, 159); /* oklch */ color: oklch(39.6% 0.174 282.2);
Tailwind
colors: {
custom: {
50: '#7f68bc',
500: '#3f2d9f',
950: '#000000',
},
}SCSS
$custom: #3f2d9f; $custom-light: #7f68bc; $custom-dark: #000000;
JSON
{
"hex": "#3f2d9f",
"rgb": {
"r": 63,
"g": 45,
"b": 159
},
"hsl": {
"h": 249.474,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.39638,
"c": 0.17409,
"h": 282.2
},
"luminance": 0.05437
}Semantic roles & 50–950 ramp
primary
#3F2D9F
secondary
#B1BE6A
accent
#DF49C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81