#5F4FE1#5F4FE1
#5F4FE1 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.212 H 281.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FE1 |
|---|---|
| RGB | rgb(95, 79, 225) |
| HSL | hsl(247, 71%, 60%) |
| HSV | hsv(247, 65%, 88%) |
| CMYK | cmyk(57.8%, 64.9%, 0%, 11.8%) |
| CIE-LAB | lab(43.45, 46.52, -72.31) |
| CIE-LCH | lch(43.45, 85.98, 302.75°) |
| OKLab | oklab(53.21% 0.0418 -0.2081) |
| OKLCH | oklch(53.21% 0.212 281.3) |
| XYZ | xyz(21.1017, 13.4597, 72.7056) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.65
Warm Blue
#4B57DB
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.28
Iris
#6258C4
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FE1 #D1E14F
analogous
#4F88E1 #5F4FE1 #A84FE1
triadic
#5F4FE1 #E15F4F #4FE15F
tetradic
#5F4FE1 #E14F88 #D1E14F #4FE1A8
square
#5F4FE1 #E14F88 #D1E14F #4FE1A8
split-complementary
#5F4FE1 #E1A84F #88E14F
monochromatic
#291A9B #3623CF #5F4FE1 #8F83EA #BEB8F3
Accessibility & contrast
On white
5.69
#5F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5F4FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FE1
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FE1 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#0A7491
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f4fe1; /* rgb */ color: rgb(95, 79, 225); /* oklch */ color: oklch(53.2% 0.212 281.3);
Tailwind
colors: {
custom: {
50: '#9981eb',
500: '#5f4fe1',
950: '#000000',
},
}SCSS
$custom: #5f4fe1; $custom-light: #9981eb; $custom-dark: #000000;
JSON
{
"hex": "#5f4fe1",
"rgb": {
"r": 95,
"g": 79,
"b": 225
},
"hsl": {
"h": 246.575,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.53212,
"c": 0.21223,
"h": 281.3
},
"luminance": 0.13461
}Semantic roles & 50–950 ramp
primary
#5F4FE1
secondary
#DCE2AA
accent
#EE3ADA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84