#5D7CD7#5D7CD7
#5D7CD7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.143 H 267.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7CD7 |
|---|---|
| RGB | rgb(93, 124, 215) |
| HSL | hsl(225, 60%, 60%) |
| HSV | hsv(225, 57%, 84%) |
| CMYK | cmyk(56.7%, 42.3%, 0%, 15.7%) |
| CIE-LAB | lab(53.65, 15.74, -50.19) |
| CIE-LCH | lch(53.65, 52.60, 287.41°) |
| OKLab | oklab(60.6% -0.0054 -0.1427) |
| OKLCH | oklch(60.6% 0.143 267.8) |
| XYZ | xyz(23.9835, 21.6469, 67.1912) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.18
Soft Blue
#6488EA
ΔE00 4.52
Lightish Blue
#3D7AFD
ΔE00 4.77
Cornflower
#6A79F7
ΔE00 5.22
Dodger Blue
#3E82FC
ΔE00 5.57
Clear Blue
#247AFD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7CD7 #D7B85D
analogous
#5DB9D7 #5D7CD7 #7B5DD7
triadic
#5D7CD7 #D75D7C #7CD75D
tetradic
#5D7CD7 #D75DB9 #D7B85D #5DD77B
square
#5D7CD7 #D75DB9 #D7B85D #5DD77B
split-complementary
#5D7CD7 #D77B5D #B9D75D
monochromatic
#254195 #3157C6 #5D7CD7 #8EA4E3 #BFCBEF
Accessibility & contrast
On white
3.94
#5D7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#5D7CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7CD7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7CD7 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5486DB
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#02909F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5d7cd7; /* rgb */ color: rgb(93, 124, 215); /* oklch */ color: oklch(60.6% 0.143 267.8);
Tailwind
colors: {
custom: {
50: '#94a1e4',
500: '#5d7cd7',
950: '#000000',
},
}SCSS
$custom: #5d7cd7; $custom-light: #94a1e4; $custom-dark: #000000;
JSON
{
"hex": "#5d7cd7",
"rgb": {
"r": 93,
"g": 124,
"b": 215
},
"hsl": {
"h": 224.754,
"s": 60.396,
"l": 60.392
},
"oklch": {
"l": 0.60599,
"c": 0.14283,
"h": 267.8
},
"luminance": 0.21649
}Semantic roles & 50–950 ramp
primary
#5D7CD7
secondary
#DFD3B1
accent
#9D1DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84