#5F4DD7#5F4DD7
#5F4DD7 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.202 H 282.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DD7 |
|---|---|
| RGB | rgb(95, 77, 215) |
| HSL | hsl(248, 63%, 57%) |
| HSV | hsv(248, 64%, 84%) |
| CMYK | cmyk(55.8%, 64.2%, 0%, 15.7%) |
| CIE-LAB | lab(42.22, 44.61, -68.60) |
| CIE-LCH | lch(42.22, 81.83, 303.03°) |
| OKLab | oklab(52.08% 0.0446 -0.1972) |
| OKLCH | oklch(52.08% 0.202 282.7) |
| XYZ | xyz(19.6352, 12.6457, 65.6830) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 4.01
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DD7 #C5D74D
analogous
#4D80D7 #5F4DD7 #A44DD7
triadic
#5F4DD7 #D75F4D #4DD75F
tetradic
#5F4DD7 #D74D80 #C5D74D #4DD7A4
square
#5F4DD7 #D74D80 #C5D74D #4DD7A4
split-complementary
#5F4DD7 #D7A44D #80D74D
monochromatic
#2D1F8A #3D2ABC #5F4DD7 #8C7FE2 #B9B1ED
Accessibility & contrast
On white
5.95
#5F4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5F4DD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DD7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DD7 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#236F8B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f4dd7; /* rgb */ color: rgb(95, 77, 215); /* oklch */ color: oklch(52.1% 0.202 282.7);
Tailwind
colors: {
custom: {
50: '#9780e4',
500: '#5f4dd7',
950: '#000000',
},
}SCSS
$custom: #5f4dd7; $custom-light: #9780e4; $custom-dark: #000000;
JSON
{
"hex": "#5f4dd7",
"rgb": {
"r": 95,
"g": 77,
"b": 215
},
"hsl": {
"h": 247.826,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.52077,
"c": 0.20216,
"h": 282.7
},
"luminance": 0.12647
}Semantic roles & 50–950 ramp
primary
#5F4DD7
secondary
#D5DCA4
accent
#E641D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84