#5E7DCD#5E7DCD
#5E7DCD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.127 H 266.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7DCD |
|---|---|
| RGB | rgb(94, 125, 205) |
| HSL | hsl(223, 53%, 59%) |
| HSV | hsv(223, 54%, 80%) |
| CMYK | cmyk(54.1%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(53.44, 12.10, -44.86) |
| CIE-LCH | lch(53.44, 46.46, 285.10°) |
| OKLab | oklab(60.28% -0.0075 -0.1271) |
| OKLCH | oklch(60.28% 0.127 266.6) |
| XYZ | xyz(22.9655, 21.4530, 60.6764) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.64
Soft Blue
#6488EA
ΔE00 4.99
Faded Blue
#658CBB
ΔE00 5.68
Lightish Blue
#3D7AFD
ΔE00 5.71
Off Blue
#5684AE
ΔE00 6.10
Dodger Blue
#3E82FC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7DCD #CDAE5E
analogous
#5EB4CD #5E7DCD #765ECD
triadic
#5E7DCD #CD5E7D #7DCD5E
tetradic
#5E7DCD #CD5EB4 #CDAE5E #5ECD76
square
#5E7DCD #CD5EB4 #CDAE5E #5ECD76
split-complementary
#5E7DCD #CD765E #B4CD5E
monochromatic
#2A4487 #385BB5 #5E7DCD #8DA3DC #BBC8EA
Accessibility & contrast
On white
3.97
#5E7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#5E7DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7DCD
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7DCD | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#228E9B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5e7dcd; /* rgb */ color: rgb(94, 125, 205); /* oklch */ color: oklch(60.3% 0.127 266.6);
Tailwind
colors: {
custom: {
50: '#93a2dc',
500: '#5e7dcd',
950: '#000000',
},
}SCSS
$custom: #5e7dcd; $custom-light: #93a2dc; $custom-dark: #000000;
JSON
{
"hex": "#5e7dcd",
"rgb": {
"r": 94,
"g": 125,
"b": 205
},
"hsl": {
"h": 223.243,
"s": 52.607,
"l": 58.627
},
"oklch": {
"l": 0.60279,
"c": 0.1273,
"h": 266.6
},
"luminance": 0.21455
}Semantic roles & 50–950 ramp
primary
#5E7DCD
secondary
#D9CDAD
accent
#B44CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83