#5F4EE4#5F4EE4
#5F4EE4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.217 H 281.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4EE4 |
|---|---|
| RGB | rgb(95, 78, 228) |
| HSL | hsl(247, 74%, 60%) |
| HSV | hsv(247, 66%, 89%) |
| CMYK | cmyk(58.3%, 65.8%, 0%, 10.6%) |
| CIE-LAB | lab(43.48, 48.00, -73.96) |
| CIE-LCH | lch(43.48, 88.18, 302.98°) |
| OKLab | oklab(53.31% 0.0423 -0.2129) |
| OKLCH | oklch(53.31% 0.217 281.2) |
| XYZ | xyz(21.4429, 13.4816, 74.8560) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.29
Warm Blue
#4B57DB
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.61
Bluish Purple
#703BE7
ΔE00 4.76
Iris
#6258C4
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4EE4 #D3E44E
analogous
#4E88E4 #5F4EE4 #AA4EE4
triadic
#5F4EE4 #E45F4E #4EE45F
tetradic
#5F4EE4 #E44E88 #D3E44E #4EE4AA
square
#5F4EE4 #E44E88 #D3E44E #4EE4AA
split-complementary
#5F4EE4 #E4AA4E #88E44E
monochromatic
#28189F #3520D4 #5F4EE4 #8F83EC #BFB8F4
Accessibility & contrast
On white
5.68
#5F4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5F4EE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4EE4
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4EE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4EE4 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f4ee4; /* rgb */ color: rgb(95, 78, 228); /* oklch */ color: oklch(53.3% 0.217 281.2);
Tailwind
colors: {
custom: {
50: '#9981ee',
500: '#5f4ee4',
950: '#000000',
},
}SCSS
$custom: #5f4ee4; $custom-light: #9981ee; $custom-dark: #000000;
JSON
{
"hex": "#5f4ee4",
"rgb": {
"r": 95,
"g": 78,
"b": 228
},
"hsl": {
"h": 246.8,
"s": 73.529,
"l": 60
},
"oklch": {
"l": 0.5331,
"c": 0.21707,
"h": 281.2
},
"luminance": 0.13483
}Semantic roles & 50–950 ramp
primary
#5F4EE4
secondary
#DDE4AA
accent
#F038DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84