#5F4CD9#5F4CD9
#5F4CD9 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.206 H 282.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD9 |
|---|---|
| RGB | rgb(95, 76, 217) |
| HSL | hsl(248, 65%, 57%) |
| HSV | hsv(248, 65%, 85%) |
| CMYK | cmyk(56.2%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(42.17, 45.79, -69.84) |
| CIE-LCH | lch(42.17, 83.51, 303.25°) |
| OKLab | oklab(52.09% 0.0453 -0.2008) |
| OKLCH | oklch(52.09% 0.206 282.7) |
| XYZ | xyz(19.8243, 12.6103, 67.0216) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.57
Bluey Purple
#6241C7
ΔE00 3.96
Iris
#6258C4
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.44
Warm Blue
#4B57DB
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD9 #C6D94C
analogous
#4C80D9 #5F4CD9 #A54CD9
triadic
#5F4CD9 #D95F4C #4CD95F
tetradic
#5F4CD9 #D94C80 #C6D94C #4CD9A5
square
#5F4CD9 #D94C80 #C6D94C #4CD9A5
split-complementary
#5F4CD9 #D9A54C #80D94C
monochromatic
#2D1E8D #3D29BF #5F4CD9 #8C7EE4 #B9B1EE
Accessibility & contrast
On white
5.96
#5F4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5F4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD9
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD9 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#20708C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f4cd9; /* rgb */ color: rgb(95, 76, 217); /* oklch */ color: oklch(52.1% 0.206 282.7);
Tailwind
colors: {
custom: {
50: '#987fe6',
500: '#5f4cd9',
950: '#000000',
},
}SCSS
$custom: #5f4cd9; $custom-light: #987fe6; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd9",
"rgb": {
"r": 95,
"g": 76,
"b": 217
},
"hsl": {
"h": 248.085,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.52087,
"c": 0.20585,
"h": 282.7
},
"luminance": 0.12612
}Semantic roles & 50–950 ramp
primary
#5F4CD9
secondary
#D5DDA4
accent
#E840D1
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84