#5D7DCC#5D7DCC
#5D7DCC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.126 H 266.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7DCC |
|---|---|
| RGB | rgb(93, 125, 204) |
| HSL | hsl(223, 52%, 58%) |
| HSV | hsv(223, 54%, 80%) |
| CMYK | cmyk(54.4%, 38.7%, 0%, 20%) |
| CIE-LAB | lab(53.33, 11.57, -44.46) |
| CIE-LCH | lch(53.33, 45.94, 284.58°) |
| OKLab | oklab(60.16% -0.0087 -0.126) |
| OKLCH | oklch(60.16% 0.126 266.1) |
| XYZ | xyz(22.7433, 21.3523, 60.0380) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.65
Soft Blue
#6488EA
ΔE00 5.08
Faded Blue
#658CBB
ΔE00 5.62
Lightish Blue
#3D7AFD
ΔE00 5.70
Off Blue
#5684AE
ΔE00 5.94
Dodger Blue
#3E82FC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7DCC #CCAC5D
analogous
#5DB4CC #5D7DCC #745DCC
triadic
#5D7DCC #CC5D7D #7DCC5D
tetradic
#5D7DCC #CC5DB4 #CCAC5D #5DCC74
square
#5D7DCC #CC5DB4 #CCAC5D #5DCC74
split-complementary
#5D7DCC #CC745D #B4CC5D
monochromatic
#2A4485 #385CB3 #5D7DCC #8CA2DB #BAC8E9
Accessibility & contrast
On white
3.98
#5D7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5D7DCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7DCC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7DCC | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 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)
#5D85CF
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#1F8E9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5d7dcc; /* rgb */ color: rgb(93, 125, 204); /* oklch */ color: oklch(60.2% 0.126 266.1);
Tailwind
colors: {
custom: {
50: '#92a2dc',
500: '#5d7dcc',
950: '#000000',
},
}SCSS
$custom: #5d7dcc; $custom-light: #92a2dc; $custom-dark: #000000;
JSON
{
"hex": "#5d7dcc",
"rgb": {
"r": 93,
"g": 125,
"b": 204
},
"hsl": {
"h": 222.703,
"s": 52.113,
"l": 58.235
},
"oklch": {
"l": 0.60163,
"c": 0.12626,
"h": 266.1
},
"luminance": 0.21354
}Semantic roles & 50–950 ramp
primary
#5D7DCC
secondary
#D9CCAC
accent
#B24CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83