#5F4CE0#5F4CE0
#5F4CE0 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.214 H 282.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CE0 |
|---|---|
| RGB | rgb(95, 76, 224) |
| HSL | hsl(248, 70%, 59%) |
| HSV | hsv(248, 66%, 88%) |
| CMYK | cmyk(57.6%, 66.1%, 0%, 12.2%) |
| CIE-LAB | lab(42.74, 47.91, -72.91) |
| CIE-LCH | lch(42.74, 87.24, 303.31°) |
| OKLab | oklab(52.67% 0.0444 -0.2098) |
| OKLCH | oklch(52.67% 0.214 282) |
| XYZ | xyz(20.7541, 12.9822, 71.9187) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.04
Bluish Purple
#703BE7
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CE0 #CDE04C
analogous
#4C83E0 #5F4CE0 #A94CE0
triadic
#5F4CE0 #E05F4C #4CE05F
tetradic
#5F4CE0 #E04C83 #CDE04C #4CE0A9
square
#5F4CE0 #E04C83 #CDE04C #4CE0A9
split-complementary
#5F4CE0 #E0A94C #83E04C
monochromatic
#2A1A97 #3923CC #5F4CE0 #8E80E9 #BCB4F2
Accessibility & contrast
On white
5.84
#5F4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5F4CE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CE0
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CE0 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#0F7290
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4ce0; /* rgb */ color: rgb(95, 76, 224); /* oklch */ color: oklch(52.7% 0.214 282.0);
Tailwind
colors: {
custom: {
50: '#997feb',
500: '#5f4ce0',
950: '#000000',
},
}SCSS
$custom: #5f4ce0; $custom-light: #997feb; $custom-dark: #000000;
JSON
{
"hex": "#5f4ce0",
"rgb": {
"r": 95,
"g": 76,
"b": 224
},
"hsl": {
"h": 247.703,
"s": 70.476,
"l": 58.824
},
"oklch": {
"l": 0.52672,
"c": 0.21447,
"h": 282
},
"luminance": 0.12984
}Semantic roles & 50–950 ramp
primary
#5F4CE0
secondary
#DAE1A7
accent
#ED3BD6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84