#5F4FE0#5F4FE0
#5F4FE0 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.211 H 281.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FE0 |
|---|---|
| RGB | rgb(95, 79, 224) |
| HSL | hsl(247, 70%, 59%) |
| HSV | hsv(247, 65%, 88%) |
| CMYK | cmyk(57.6%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(43.37, 46.21, -71.88) |
| CIE-LCH | lch(43.37, 85.45, 302.74°) |
| OKLab | oklab(53.13% 0.0419 -0.2068) |
| OKLCH | oklch(53.13% 0.211 281.4) |
| XYZ | xyz(20.9656, 13.4053, 71.9892) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.69
Warm Blue
#4B57DB
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.23
Iris
#6258C4
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FE0 #D0E04F
analogous
#4F88E0 #5F4FE0 #A84FE0
triadic
#5F4FE0 #E05F4F #4FE05F
tetradic
#5F4FE0 #E04F88 #D0E04F #4FE0A8
square
#5F4FE0 #E04F88 #D0E04F #4FE0A8
split-complementary
#5F4FE0 #E0A84F #88E04F
monochromatic
#291B9A #3724CE #5F4FE0 #8E83E9 #BEB7F2
Accessibility & contrast
On white
5.70
#5F4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5F4FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FE0
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FE0 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#0E7491
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5f4fe0; /* rgb */ color: rgb(95, 79, 224); /* oklch */ color: oklch(53.1% 0.211 281.4);
Tailwind
colors: {
custom: {
50: '#9981eb',
500: '#5f4fe0',
950: '#000000',
},
}SCSS
$custom: #5f4fe0; $custom-light: #9981eb; $custom-dark: #000000;
JSON
{
"hex": "#5f4fe0",
"rgb": {
"r": 95,
"g": 79,
"b": 224
},
"hsl": {
"h": 246.621,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.53129,
"c": 0.21099,
"h": 281.4
},
"luminance": 0.13407
}Semantic roles & 50–950 ramp
primary
#5F4FE0
secondary
#DBE2A9
accent
#ED3BD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84