#5D5EF1#5D5EF1
#5D5EF1 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.215 H 276.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5EF1 |
|---|---|
| RGB | rgb(93, 94, 241) |
| HSL | hsl(240, 84%, 65%) |
| HSV | hsv(240, 61%, 95%) |
| CMYK | cmyk(61.4%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(47.86, 42.49, -74.16) |
| CIE-LCH | lch(47.86, 85.46, 299.81°) |
| OKLab | oklab(56.78% 0.0254 -0.2135) |
| OKLCH | oklch(56.78% 0.215 276.8) |
| XYZ | xyz(24.3889, 16.6815, 85.1367) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.60
Mediumslateblue
#7B68EE
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.45
Electric Blue
#0652FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5EF1 #F1F05D
analogous
#5DA8F1 #5D5EF1 #A65DF1
triadic
#5D5EF1 #F15D5E #5EF15D
tetradic
#5D5EF1 #F15DA8 #F1F05D #5DF1A6
square
#5D5EF1 #F15DA8 #F1F05D #5DF1A6
split-complementary
#5D5EF1 #F1A65D #A8F15D
monochromatic
#1112C3 #2526EC #5D5EF1 #9596F6 #CECEFB
Accessibility & contrast
On white
4.84
#5D5EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5D5EF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5EF1
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5EF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5EF1 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5ef1; /* rgb */ color: rgb(93, 94, 241); /* oklch */ color: oklch(56.8% 0.215 276.8);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5d5ef1',
950: '#000000',
},
}SCSS
$custom: #5d5ef1; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5d5ef1",
"rgb": {
"r": 93,
"g": 94,
"b": 241
},
"hsl": {
"h": 239.595,
"s": 84.091,
"l": 65.49
},
"oklch": {
"l": 0.56781,
"c": 0.215,
"h": 276.8
},
"luminance": 0.16683
}Semantic roles & 50–950 ramp
primary
#5D5EF1
secondary
#EEEDBC
accent
#DF05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85