#5F4EDB#5F4EDB
#5F4EDB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.206 H 282.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4EDB |
|---|---|
| RGB | rgb(95, 78, 219) |
| HSL | hsl(247, 66%, 58%) |
| HSV | hsv(247, 64%, 86%) |
| CMYK | cmyk(56.6%, 64.4%, 0%, 14.1%) |
| CIE-LAB | lab(42.76, 45.25, -70.03) |
| CIE-LCH | lch(42.76, 83.38, 302.87°) |
| OKLab | oklab(52.56% 0.0433 -0.2014) |
| OKLCH | oklch(52.56% 0.206 282.1) |
| XYZ | xyz(20.2259, 12.9948, 68.4466) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.78
Slate Blue
#6A5ACD
ΔE00 4.09
Warm Blue
#4B57DB
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.20
Iris
#6258C4
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4EDB #CADB4E
analogous
#4E83DB #5F4EDB #A54EDB
triadic
#5F4EDB #DB5F4E #4EDB5F
tetradic
#5F4EDB #DB4E83 #CADB4E #4EDBA5
square
#5F4EDB #DB4E83 #CADB4E #4EDBA5
split-complementary
#5F4EDB #DBA54E #83DB4E
monochromatic
#2B1E91 #3B28C4 #5F4EDB #8D81E5 #BBB4F0
Accessibility & contrast
On white
5.83
#5F4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5F4EDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4EDB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4EDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4EDB | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#1B718E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f4edb; /* rgb */ color: rgb(95, 78, 219); /* oklch */ color: oklch(52.6% 0.206 282.1);
Tailwind
colors: {
custom: {
50: '#9881e7',
500: '#5f4edb',
950: '#000000',
},
}SCSS
$custom: #5f4edb; $custom-light: #9881e7; $custom-dark: #000000;
JSON
{
"hex": "#5f4edb",
"rgb": {
"r": 95,
"g": 78,
"b": 219
},
"hsl": {
"h": 247.234,
"s": 66.197,
"l": 58.235
},
"oklch": {
"l": 0.52561,
"c": 0.20596,
"h": 282.1
},
"luminance": 0.12996
}Semantic roles & 50–950 ramp
primary
#5F4EDB
secondary
#D8DEA6
accent
#E93FD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84