#5F4EDC#5F4EDC
#5F4EDC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.207 H 282.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4EDC |
|---|---|
| RGB | rgb(95, 78, 220) |
| HSL | hsl(247, 67%, 58%) |
| HSV | hsv(247, 65%, 86%) |
| CMYK | cmyk(56.8%, 64.5%, 0%, 13.7%) |
| CIE-LAB | lab(42.84, 45.56, -70.47) |
| CIE-LCH | lch(42.84, 83.91, 302.88°) |
| OKLab | oklab(52.64% 0.0432 -0.2027) |
| OKLCH | oklch(52.64% 0.207 282) |
| XYZ | xyz(20.3580, 13.0477, 69.1420) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.71
Warm Blue
#4B57DB
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 4.23
Iris
#6258C4
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4EDC #CBDC4E
analogous
#4E84DC #5F4EDC #A64EDC
triadic
#5F4EDC #DC5F4E #4EDC5F
tetradic
#5F4EDC #DC4E84 #CBDC4E #4EDCA6
square
#5F4EDC #DC4E84 #CBDC4E #4EDCA6
split-complementary
#5F4EDC #DCA64E #84DC4E
monochromatic
#2B1D93 #3A27C6 #5F4EDC #8D81E6 #BBB4F0
Accessibility & contrast
On white
5.82
#5F4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5F4EDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4EDC
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4EDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4EDC | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#19728E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4edc; /* rgb */ color: rgb(95, 78, 220); /* oklch */ color: oklch(52.6% 0.207 282.0);
Tailwind
colors: {
custom: {
50: '#9881e8',
500: '#5f4edc',
950: '#000000',
},
}SCSS
$custom: #5f4edc; $custom-light: #9881e8; $custom-dark: #000000;
JSON
{
"hex": "#5f4edc",
"rgb": {
"r": 95,
"g": 78,
"b": 220
},
"hsl": {
"h": 247.183,
"s": 66.981,
"l": 58.431
},
"oklch": {
"l": 0.52643,
"c": 0.2072,
"h": 282
},
"luminance": 0.13049
}Semantic roles & 50–950 ramp
primary
#5F4EDC
secondary
#D8DFA7
accent
#EA3ED5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84