#5F4CD1#5F4CD1
#5F4CD1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.196 H 283.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD1 |
|---|---|
| RGB | rgb(95, 76, 209) |
| HSL | hsl(249, 59%, 56%) |
| HSV | hsv(249, 64%, 82%) |
| CMYK | cmyk(54.5%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(41.54, 43.36, -66.27) |
| CIE-LCH | lch(41.54, 79.20, 303.19°) |
| OKLab | oklab(51.43% 0.0461 -0.1903) |
| OKLCH | oklch(51.43% 0.196 283.6) |
| XYZ | xyz(18.8089, 12.2041, 61.6738) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.33
Iris
#6258C4
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.29
Purpleish Blue
#6140EF
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 4.47
Blue With A Hint Of Purple
#533CC6
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD1 #BED14C
analogous
#4C7BD1 #5F4CD1 #A14CD1
triadic
#5F4CD1 #D15F4C #4CD15F
tetradic
#5F4CD1 #D14C7B #BED14C #4CD1A1
square
#5F4CD1 #D14C7B #BED14C #4CD1A1
split-complementary
#5F4CD1 #D1A14C #7BD14C
monochromatic
#2F2181 #412EB2 #5F4CD1 #8B7DDE #B6ADEA
Accessibility & contrast
On white
6.10
#5F4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5F4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#2B6D88
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f4cd1; /* rgb */ color: rgb(95, 76, 209); /* oklch */ color: oklch(51.4% 0.196 283.6);
Tailwind
colors: {
custom: {
50: '#967fe0',
500: '#5f4cd1',
950: '#000000',
},
}SCSS
$custom: #5f4cd1; $custom-light: #967fe0; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd1",
"rgb": {
"r": 95,
"g": 76,
"b": 209
},
"hsl": {
"h": 248.571,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.51432,
"c": 0.19585,
"h": 283.6
},
"luminance": 0.12205
}Semantic roles & 50–950 ramp
primary
#5F4CD1
secondary
#D0D8A1
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83