#5D7CD1#5D7CD1
#5D7CD1 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.134 H 267.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7CD1 |
|---|---|
| RGB | rgb(93, 124, 209) |
| HSL | hsl(224, 56%, 59%) |
| HSV | hsv(224, 56%, 82%) |
| CMYK | cmyk(55.5%, 40.7%, 0%, 18%) |
| CIE-LAB | lab(53.32, 13.79, -47.31) |
| CIE-LCH | lch(53.32, 49.28, 286.25°) |
| OKLab | oklab(60.24% -0.0065 -0.1343) |
| OKLCH | oklch(60.24% 0.134 267.2) |
| XYZ | xyz(23.2266, 21.3441, 63.2051) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.21
Soft Blue
#6488EA
ΔE00 4.93
Lightish Blue
#3D7AFD
ΔE00 5.30
Cornflower
#6A79F7
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 5.98
Faded Blue
#658CBB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7CD1 #D1B25D
analogous
#5DB6D1 #5D7CD1 #785DD1
triadic
#5D7CD1 #D15D7C #7CD15D
tetradic
#5D7CD1 #D15DB6 #D1B25D #5DD178
square
#5D7CD1 #D15DB6 #D1B25D #5DD178
split-complementary
#5D7CD1 #D1785D #B6D15D
monochromatic
#28428C #3559BC #5D7CD1 #8DA3DF #BCC9EC
Accessibility & contrast
On white
3.99
#5D7CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5D7CD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7CD1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7CD1 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5885D4
Deuteranopia (green-blind)
#4A7BCF
Tritanopia (blue-blind)
#168F9C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5d7cd1; /* rgb */ color: rgb(93, 124, 209); /* oklch */ color: oklch(60.2% 0.134 267.2);
Tailwind
colors: {
custom: {
50: '#93a1df',
500: '#5d7cd1',
950: '#000000',
},
}SCSS
$custom: #5d7cd1; $custom-light: #93a1df; $custom-dark: #000000;
JSON
{
"hex": "#5d7cd1",
"rgb": {
"r": 93,
"g": 124,
"b": 209
},
"hsl": {
"h": 223.966,
"s": 55.769,
"l": 59.216
},
"oklch": {
"l": 0.60242,
"c": 0.13447,
"h": 267.2
},
"luminance": 0.21346
}Semantic roles & 50–950 ramp
primary
#5D7CD1
secondary
#DCCFAE
accent
#B749DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83