#5D5FF2#5D5FF2
#5D5FF2 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.0% C 0.215 H 276.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FF2 |
|---|---|
| RGB | rgb(93, 95, 242) |
| HSL | hsl(239, 85%, 66%) |
| HSV | hsv(239, 62%, 95%) |
| CMYK | cmyk(61.6%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(48.16, 42.21, -74.22) |
| CIE-LCH | lch(48.16, 85.39, 299.63°) |
| OKLab | oklab(57.03% 0.0246 -0.2137) |
| OKLCH | oklch(57.03% 0.215 276.6) |
| XYZ | xyz(24.6282, 16.9204, 85.9553) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 4.84
Mediumslateblue
#7B68EE
ΔE00 5.19
Light Indigo
#6D5ACF
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.67
Royal Blue
#4169E1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FF2 #F2F05D
analogous
#5DA9F2 #5D5FF2 #A65DF2
triadic
#5D5FF2 #F25D5F #5FF25D
tetradic
#5D5FF2 #F25DA9 #F2F05D #5DF2A6
square
#5D5FF2 #F25DA9 #F2F05D #5DF2A6
split-complementary
#5D5FF2 #F2A65D #A9F25D
monochromatic
#1012C5 #2427ED #5D5FF2 #9697F7 #CECFFB
Accessibility & contrast
On white
4.79
#5D5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#5D5FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FF2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FF2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5ff2; /* rgb */ color: rgb(93, 95, 242); /* oklch */ color: oklch(57.0% 0.215 276.6);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5d5ff2',
950: '#000000',
},
}SCSS
$custom: #5d5ff2; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5d5ff2",
"rgb": {
"r": 93,
"g": 95,
"b": 242
},
"hsl": {
"h": 239.195,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.57027,
"c": 0.21508,
"h": 276.6
},
"luminance": 0.16922
}Semantic roles & 50–950 ramp
primary
#5D5FF2
secondary
#EEEEBD
accent
#DF04E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85