#5D5AF5#5D5AF5
#5D5AF5 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.225 H 277.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5AF5 |
|---|---|
| RGB | rgb(93, 90, 245) |
| HSL | hsl(241, 89%, 66%) |
| HSV | hsv(241, 63%, 96%) |
| CMYK | cmyk(62%, 63.3%, 0%, 3.9%) |
| CIE-LAB | lab(47.27, 46.11, -77.34) |
| CIE-LCH | lch(47.27, 90.04, 300.80°) |
| OKLab | oklab(56.45% 0.0284 -0.2229) |
| OKLCH | oklch(56.45% 0.225 277.3) |
| XYZ | xyz(24.6465, 16.2301, 88.2024) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.57
Electric Blue
#0652FF
ΔE00 5.72
Mediumslateblue
#7B68EE
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5AF5 #F2F55A
analogous
#5AA5F5 #5D5AF5 #AA5AF5
triadic
#5D5AF5 #F55D5A #5AF55D
tetradic
#5D5AF5 #F55AA5 #F2F55A #5AF5AA
square
#5D5AF5 #F55AA5 #F2F55A #5AF5AA
split-complementary
#5D5AF5 #F5AA5A #A5F55A
monochromatic
#100CC8 #2420F2 #5D5AF5 #9694F8 #CECDFC
Accessibility & contrast
On white
4.95
#5D5AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5D5AF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5AF5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5AF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5AF5 | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5d5af5; /* rgb */ color: rgb(93, 90, 245); /* oklch */ color: oklch(56.5% 0.225 277.3);
Tailwind
colors: {
custom: {
50: '#9a89fa',
500: '#5d5af5',
950: '#000000',
},
}SCSS
$custom: #5d5af5; $custom-light: #9a89fa; $custom-dark: #000000;
JSON
{
"hex": "#5d5af5",
"rgb": {
"r": 93,
"g": 90,
"b": 245
},
"hsl": {
"h": 241.161,
"s": 88.571,
"l": 65.686
},
"oklch": {
"l": 0.56452,
"c": 0.22467,
"h": 277.3
},
"luminance": 0.16232
}Semantic roles & 50–950 ramp
primary
#5D5AF5
secondary
#EEEFBC
accent
#E500E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85