#5F4DE5#5F4DE5
#5F4DE5 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.219 H 281.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DE5 |
|---|---|
| RGB | rgb(95, 77, 229) |
| HSL | hsl(247, 75%, 60%) |
| HSV | hsv(247, 66%, 90%) |
| CMYK | cmyk(58.5%, 66.4%, 0%, 10.2%) |
| CIE-LAB | lab(43.35, 48.87, -74.74) |
| CIE-LCH | lch(43.35, 89.30, 303.18°) |
| OKLab | oklab(53.25% 0.043 -0.2152) |
| OKLCH | oklch(53.25% 0.219 281.3) |
| XYZ | xyz(21.5116, 13.3963, 75.5657) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 4.45
Bluish Purple
#703BE7
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 4.83
Iris
#6258C4
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DE5 #D3E54D
analogous
#4D87E5 #5F4DE5 #AB4DE5
triadic
#5F4DE5 #E55F4D #4DE55F
tetradic
#5F4DE5 #E54D87 #D3E54D #4DE5AB
square
#5F4DE5 #E54D87 #D3E54D #4DE5AB
split-complementary
#5F4DE5 #E5AB4D #87E54D
monochromatic
#2817A0 #351FD6 #5F4DE5 #8F82ED #BFB8F5
Accessibility & contrast
On white
5.71
#5F4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5F4DE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DE5
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DE5 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5f4de5; /* rgb */ color: rgb(95, 77, 229); /* oklch */ color: oklch(53.2% 0.219 281.3);
Tailwind
colors: {
custom: {
50: '#9980ee',
500: '#5f4de5',
950: '#000000',
},
}SCSS
$custom: #5f4de5; $custom-light: #9980ee; $custom-dark: #000000;
JSON
{
"hex": "#5f4de5",
"rgb": {
"r": 95,
"g": 77,
"b": 229
},
"hsl": {
"h": 247.105,
"s": 74.51,
"l": 60
},
"oklch": {
"l": 0.53245,
"c": 0.21943,
"h": 281.3
},
"luminance": 0.13398
}Semantic roles & 50–950 ramp
primary
#5F4DE5
secondary
#DDE4AA
accent
#F137DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85