#5D5DF2#5D5DF2
#5D5DF2 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.217 H 276.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DF2 |
|---|---|
| RGB | rgb(93, 93, 242) |
| HSL | hsl(240, 85%, 66%) |
| HSV | hsv(240, 62%, 95%) |
| CMYK | cmyk(61.6%, 61.6%, 0%, 5.1%) |
| CIE-LAB | lab(47.71, 43.40, -74.96) |
| CIE-LCH | lch(47.71, 86.62, 300.07°) |
| OKLab | oklab(56.69% 0.0262 -0.2158) |
| OKLCH | oklch(56.69% 0.217 276.9) |
| XYZ | xyz(24.4504, 16.5647, 85.8960) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.46
Warm Blue
#4B57DB
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 5.41
Slate Blue
#6A5ACD
ΔE00 5.45
Mediumslateblue
#7B68EE
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DF2 #F2F25D
analogous
#5DA7F2 #5D5DF2 #A75DF2
triadic
#5D5DF2 #F25D5D #5DF25D
tetradic
#5D5DF2 #F25DA7 #F2F25D #5DF2A7
square
#5D5DF2 #F25DA7 #F2F25D #5DF2A7
split-complementary
#5D5DF2 #F2A75D #A7F25D
monochromatic
#1010C5 #2424ED #5D5DF2 #9696F7 #CECEFB
Accessibility & contrast
On white
4.87
#5D5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5D5DF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DF2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DF2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5df2; /* rgb */ color: rgb(93, 93, 242); /* oklch */ color: oklch(56.7% 0.217 276.9);
Tailwind
colors: {
custom: {
50: '#9a8bf7',
500: '#5d5df2',
950: '#000000',
},
}SCSS
$custom: #5d5df2; $custom-light: #9a8bf7; $custom-dark: #000000;
JSON
{
"hex": "#5d5df2",
"rgb": {
"r": 93,
"g": 93,
"b": 242
},
"hsl": {
"h": 240,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.56695,
"c": 0.21743,
"h": 276.9
},
"luminance": 0.16567
}Semantic roles & 50–950 ramp
primary
#5D5DF2
secondary
#EEEEBD
accent
#E204E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85