#5F4FD9#5F4FD9
#5F4FD9 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.202 H 282.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FD9 |
|---|---|
| RGB | rgb(95, 79, 217) |
| HSL | hsl(247, 64%, 58%) |
| HSV | hsv(247, 64%, 85%) |
| CMYK | cmyk(56.2%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(42.81, 44.07, -68.79) |
| CIE-LCH | lch(42.81, 81.69, 302.64°) |
| OKLab | oklab(52.55% 0.0426 -0.1977) |
| OKLCH | oklch(52.55% 0.202 282.2) |
| XYZ | xyz(20.0358, 13.0333, 67.0921) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.80
Iris
#6258C4
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 3.95
Purpleish Blue
#6140EF
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FD9 #C9D94F
analogous
#4F84D9 #5F4FD9 #A44FD9
triadic
#5F4FD9 #D95F4F #4FD95F
tetradic
#5F4FD9 #D94F84 #C9D94F #4FD9A4
square
#5F4FD9 #D94F84 #C9D94F #4FD9A4
split-complementary
#5F4FD9 #D9A44F #84D94F
monochromatic
#2C1F8F #3B2AC1 #5F4FD9 #8D81E4 #BBB4EF
Accessibility & contrast
On white
5.82
#5F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5F4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FD9
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FD9 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#1F718D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4fd9; /* rgb */ color: rgb(95, 79, 217); /* oklch */ color: oklch(52.6% 0.202 282.2);
Tailwind
colors: {
custom: {
50: '#9781e6',
500: '#5f4fd9',
950: '#000000',
},
}SCSS
$custom: #5f4fd9; $custom-light: #9781e6; $custom-dark: #000000;
JSON
{
"hex": "#5f4fd9",
"rgb": {
"r": 95,
"g": 79,
"b": 217
},
"hsl": {
"h": 246.957,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.52554,
"c": 0.20225,
"h": 282.2
},
"luminance": 0.13035
}Semantic roles & 50–950 ramp
primary
#5F4FD9
secondary
#D7DDA6
accent
#E740D4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84