#5F5DE5#5F5DE5
#5F5DE5 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.200 H 278.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DE5 |
|---|---|
| RGB | rgb(95, 93, 229) |
| HSL | hsl(241, 72%, 63%) |
| HSV | hsv(241, 59%, 90%) |
| CMYK | cmyk(58.5%, 59.4%, 0%, 10.2%) |
| CIE-LAB | lab(46.87, 39.57, -69.01) |
| CIE-LCH | lch(46.87, 79.55, 299.83°) |
| OKLab | oklab(55.81% 0.0291 -0.1983) |
| OKLCH | oklch(55.81% 0.2 278.3) |
| XYZ | xyz(22.7720, 15.9171, 75.9859) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.91
Warm Blue
#4B57DB
ΔE00 3.62
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.03
Iris
#6258C4
ΔE00 4.96
Mediumslateblue
#7B68EE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DE5 #E3E55D
analogous
#5D9FE5 #5F5DE5 #A35DE5
triadic
#5F5DE5 #E55F5D #5DE55F
tetradic
#5F5DE5 #E55D9F #E3E55D #5DE5A3
square
#5F5DE5 #E55D9F #E3E55D #5DE5A3
split-complementary
#5F5DE5 #E5A35D #9FE55D
monochromatic
#1E1CAC #2B28DD #5F5DE5 #9392ED #C7C6F6
Accessibility & contrast
On white
5.02
#5F5DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5F5DE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DE5
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DE5 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5f5de5; /* rgb */ color: rgb(95, 93, 229); /* oklch */ color: oklch(55.8% 0.200 278.3);
Tailwind
colors: {
custom: {
50: '#988bee',
500: '#5f5de5',
950: '#000000',
},
}SCSS
$custom: #5f5de5; $custom-light: #988bee; $custom-dark: #000000;
JSON
{
"hex": "#5f5de5",
"rgb": {
"r": 95,
"g": 93,
"b": 229
},
"hsl": {
"h": 240.882,
"s": 72.34,
"l": 63.137
},
"oklch": {
"l": 0.55806,
"c": 0.20044,
"h": 278.3
},
"luminance": 0.15919
}Semantic roles & 50–950 ramp
primary
#5F5DE5
secondary
#E7E7B7
accent
#D411D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84