#5F4DDE#5F4DDE
#5F4DDE is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.211 H 282.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DDE |
|---|---|
| RGB | rgb(95, 77, 222) |
| HSL | hsl(247, 69%, 59%) |
| HSV | hsv(247, 65%, 87%) |
| CMYK | cmyk(57.2%, 65.3%, 0%, 12.9%) |
| CIE-LAB | lab(42.78, 46.74, -71.69) |
| CIE-LCH | lch(42.78, 85.58, 303.10°) |
| OKLab | oklab(52.65% 0.0438 -0.2063) |
| OKLCH | oklch(52.65% 0.211 282) |
| XYZ | xyz(20.5539, 13.0132, 70.5218) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 4.50
Bluish Purple
#703BE7
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DDE #CCDE4D
analogous
#4D83DE #5F4DDE #A74DDE
triadic
#5F4DDE #DE5F4D #4DDE5F
tetradic
#5F4DDE #DE4D83 #CCDE4D #4DDEA7
square
#5F4DDE #DE4D83 #CCDE4D #4DDEA7
split-complementary
#5F4DDE #DEA74D #83DE4D
monochromatic
#2B1C95 #3925C9 #5F4DDE #8D81E8 #BCB4F1
Accessibility & contrast
On white
5.83
#5F4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5F4DDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DDE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DDE | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#15728F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4dde; /* rgb */ color: rgb(95, 77, 222); /* oklch */ color: oklch(52.7% 0.211 282.0);
Tailwind
colors: {
custom: {
50: '#9880e9',
500: '#5f4dde',
950: '#000000',
},
}SCSS
$custom: #5f4dde; $custom-light: #9880e9; $custom-dark: #000000;
JSON
{
"hex": "#5f4dde",
"rgb": {
"r": 95,
"g": 77,
"b": 222
},
"hsl": {
"h": 247.448,
"s": 68.72,
"l": 58.627
},
"oklch": {
"l": 0.52655,
"c": 0.21086,
"h": 282
},
"luminance": 0.13015
}Semantic roles & 50–950 ramp
primary
#5F4DDE
secondary
#D9E0A7
accent
#EC3CD6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84