#5F4FC5#5F4FC5
#5F4FC5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.177 H 284.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FC5 |
|---|---|
| RGB | rgb(95, 79, 197) |
| HSL | hsl(248, 50%, 54%) |
| HSV | hsv(248, 60%, 77%) |
| CMYK | cmyk(51.8%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(41.30, 37.94, -59.72) |
| CIE-LCH | lch(41.30, 70.75, 302.43°) |
| OKLab | oklab(50.98% 0.0439 -0.1711) |
| OKLCH | oklch(50.98% 0.177 284.4) |
| XYZ | xyz(17.5903, 12.0551, 54.2125) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FC5 #B5C54F
analogous
#4F7AC5 #5F4FC5 #9A4FC5
triadic
#5F4FC5 #C55F4F #4FC55F
tetradic
#5F4FC5 #C54F7A #B5C54F #4FC59A
square
#5F4FC5 #C54F7A #B5C54F #4FC59A
split-complementary
#5F4FC5 #C59A4F #7AC54F
monochromatic
#312674 #4435A2 #5F4FC5 #897DD4 #B3ABE3
Accessibility & contrast
On white
6.16
#5F4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5F4FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FC5
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FC5 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#376B82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f4fc5; /* rgb */ color: rgb(95, 79, 197); /* oklch */ color: oklch(51.0% 0.177 284.4);
Tailwind
colors: {
custom: {
50: '#9581d7',
500: '#5f4fc5',
950: '#000000',
},
}SCSS
$custom: #5f4fc5; $custom-light: #9581d7; $custom-dark: #000000;
JSON
{
"hex": "#5f4fc5",
"rgb": {
"r": 95,
"g": 79,
"b": 197
},
"hsl": {
"h": 248.136,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.50977,
"c": 0.1766,
"h": 284.4
},
"luminance": 0.12056
}Semantic roles & 50–950 ramp
primary
#5F4FC5
secondary
#CAD19F
accent
#DA4EC7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83