#5F4EDD#5F4EDD
#5F4EDD is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.208 H 281.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4EDD |
|---|---|
| RGB | rgb(95, 78, 221) |
| HSL | hsl(247, 68%, 59%) |
| HSV | hsv(247, 65%, 87%) |
| CMYK | cmyk(57%, 64.7%, 0%, 13.3%) |
| CIE-LAB | lab(42.91, 45.87, -70.91) |
| CIE-LCH | lch(42.91, 84.45, 302.90°) |
| OKLab | oklab(52.73% 0.0431 -0.2039) |
| OKLCH | oklch(52.73% 0.208 281.9) |
| XYZ | xyz(20.4908, 13.1008, 69.8415) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.27
Iris
#6258C4
ΔE00 4.42
Bluey Purple
#6241C7
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4EDD #CCDD4E
analogous
#4E84DD #5F4EDD #A64EDD
triadic
#5F4EDD #DD5F4E #4EDD5F
tetradic
#5F4EDD #DD4E84 #CCDD4E #4EDDA6
square
#5F4EDD #DD4E84 #CCDD4E #4EDDA6
split-complementary
#5F4EDD #DDA64E #84DD4E
monochromatic
#2B1C94 #3926C7 #5F4EDD #8D81E7 #BCB5F1
Accessibility & contrast
On white
5.80
#5F4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5F4EDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4EDD
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4EDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4EDD | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#17728F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4edd; /* rgb */ color: rgb(95, 78, 221); /* oklch */ color: oklch(52.7% 0.208 281.9);
Tailwind
colors: {
custom: {
50: '#9881e9',
500: '#5f4edd',
950: '#000000',
},
}SCSS
$custom: #5f4edd; $custom-light: #9881e9; $custom-dark: #000000;
JSON
{
"hex": "#5f4edd",
"rgb": {
"r": 95,
"g": 78,
"b": 221
},
"hsl": {
"h": 247.133,
"s": 67.773,
"l": 58.627
},
"oklch": {
"l": 0.52726,
"c": 0.20845,
"h": 281.9
},
"luminance": 0.13102
}Semantic roles & 50–950 ramp
primary
#5F4EDD
secondary
#D9E0A7
accent
#EB3DD6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84