#5F4CD7#5F4CD7
#5F4CD7 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.203 H 282.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD7 |
|---|---|
| RGB | rgb(95, 76, 215) |
| HSL | hsl(248, 63%, 57%) |
| HSV | hsv(248, 65%, 84%) |
| CMYK | cmyk(55.8%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(42.01, 45.18, -68.95) |
| CIE-LCH | lch(42.01, 82.44, 303.23°) |
| OKLab | oklab(51.92% 0.0455 -0.1982) |
| OKLCH | oklch(51.92% 0.203 282.9) |
| XYZ | xyz(19.5657, 12.5069, 65.6599) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.79
Iris
#6258C4
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD7 #C4D74C
analogous
#4C7FD7 #5F4CD7 #A44CD7
triadic
#5F4CD7 #D75F4C #4CD75F
tetradic
#5F4CD7 #D74C7F #C4D74C #4CD7A4
square
#5F4CD7 #D74C7F #C4D74C #4CD7A4
split-complementary
#5F4CD7 #D7A44C #7FD74C
monochromatic
#2D1F8A #3E2ABC #5F4CD7 #8C7EE2 #B8B0ED
Accessibility & contrast
On white
6.00
#5F4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5F4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD7
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD7 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#236F8B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4cd7; /* rgb */ color: rgb(95, 76, 215); /* oklch */ color: oklch(51.9% 0.203 282.9);
Tailwind
colors: {
custom: {
50: '#977fe4',
500: '#5f4cd7',
950: '#000000',
},
}SCSS
$custom: #5f4cd7; $custom-light: #977fe4; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd7",
"rgb": {
"r": 95,
"g": 76,
"b": 215
},
"hsl": {
"h": 248.201,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.51922,
"c": 0.20336,
"h": 282.9
},
"luminance": 0.12508
}Semantic roles & 50–950 ramp
primary
#5F4CD7
secondary
#D4DCA3
accent
#E641D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84