#5F4FD7#5F4FD7
#5F4FD7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.4% C 0.200 H 282.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FD7 |
|---|---|
| RGB | rgb(95, 79, 215) |
| HSL | hsl(247, 63%, 58%) |
| HSV | hsv(247, 63%, 84%) |
| CMYK | cmyk(55.8%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(42.66, 43.45, -67.90) |
| CIE-LCH | lch(42.66, 80.61, 302.62°) |
| OKLab | oklab(52.39% 0.0428 -0.1951) |
| OKLCH | oklch(52.39% 0.2 282.4) |
| XYZ | xyz(19.7773, 12.9299, 65.7304) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 3.72
Light Indigo
#6D5ACF
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 3.98
Purpleish Blue
#6140EF
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FD7 #C7D74F
analogous
#4F83D7 #5F4FD7 #A34FD7
triadic
#5F4FD7 #D75F4F #4FD75F
tetradic
#5F4FD7 #D74F83 #C7D74F #4FD7A3
square
#5F4FD7 #D74F83 #C7D74F #4FD7A3
split-complementary
#5F4FD7 #D7A34F #83D74F
monochromatic
#2C208C #3C2BBE #5F4FD7 #8C81E2 #BAB3EE
Accessibility & contrast
On white
5.86
#5F4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5F4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FD7
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FD7 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#22718C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4fd7; /* rgb */ color: rgb(95, 79, 215); /* oklch */ color: oklch(52.4% 0.200 282.4);
Tailwind
colors: {
custom: {
50: '#9781e4',
500: '#5f4fd7',
950: '#000000',
},
}SCSS
$custom: #5f4fd7; $custom-light: #9781e4; $custom-dark: #000000;
JSON
{
"hex": "#5f4fd7",
"rgb": {
"r": 95,
"g": 79,
"b": 215
},
"hsl": {
"h": 247.059,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52392,
"c": 0.19974,
"h": 282.4
},
"luminance": 0.12931
}Semantic roles & 50–950 ramp
primary
#5F4FD7
secondary
#D6DCA6
accent
#E642D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84