#5F4FE5#5F4FE5
#5F4FE5 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.217 H 281.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FE5 |
|---|---|
| RGB | rgb(95, 79, 229) |
| HSL | hsl(246, 74%, 60%) |
| HSV | hsv(246, 66%, 90%) |
| CMYK | cmyk(58.5%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(43.77, 47.74, -74.06) |
| CIE-LCH | lch(43.77, 88.11, 302.81°) |
| OKLab | oklab(53.55% 0.0413 -0.2132) |
| OKLCH | oklch(53.55% 0.217 281) |
| XYZ | xyz(21.6537, 13.6805, 75.6131) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.52
Bluish Purple
#703BE7
ΔE00 4.99
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FE5 #D5E54F
analogous
#4F8AE5 #5F4FE5 #AA4FE5
triadic
#5F4FE5 #E55F4F #4FE55F
tetradic
#5F4FE5 #E54F8A #D5E54F #4FE5AA
square
#5F4FE5 #E54F8A #D5E54F #4FE5AA
split-complementary
#5F4FE5 #E5AA4F #8AE54F
monochromatic
#2718A2 #3320D7 #5F4FE5 #8F84ED #C0BAF5
Accessibility & contrast
On white
5.62
#5F4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5F4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FE5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FE5 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f4fe5; /* rgb */ color: rgb(95, 79, 229); /* oklch */ color: oklch(53.5% 0.217 281.0);
Tailwind
colors: {
custom: {
50: '#9982ee',
500: '#5f4fe5',
950: '#000000',
},
}SCSS
$custom: #5f4fe5; $custom-light: #9982ee; $custom-dark: #000000;
JSON
{
"hex": "#5f4fe5",
"rgb": {
"r": 95,
"g": 79,
"b": 229
},
"hsl": {
"h": 246.4,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.53546,
"c": 0.21716,
"h": 281
},
"luminance": 0.13682
}Semantic roles & 50–950 ramp
primary
#5F4FE5
secondary
#DEE5AB
accent
#D60FC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85