#5A7CD7#5A7CD7
#5A7CD7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.144 H 266.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7CD7 |
|---|---|
| RGB | rgb(90, 124, 215) |
| HSL | hsl(224, 61%, 60%) |
| HSV | hsv(224, 58%, 84%) |
| CMYK | cmyk(58.1%, 42.3%, 0%, 15.7%) |
| CIE-LAB | lab(53.49, 15.14, -50.46) |
| CIE-LCH | lch(53.49, 52.68, 286.70°) |
| OKLab | oklab(60.43% -0.0083 -0.1436) |
| OKLCH | oklch(60.43% 0.144 266.7) |
| XYZ | xyz(23.6857, 21.4933, 67.1773) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.14
Lightish Blue
#3D7AFD
ΔE00 4.48
Soft Blue
#6488EA
ΔE00 4.57
Dodger Blue
#3E82FC
ΔE00 5.23
Clear Blue
#247AFD
ΔE00 5.28
Cornflower
#6A79F7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7CD7 #D7B55A
analogous
#5ABBD7 #5A7CD7 #775AD7
triadic
#5A7CD7 #D75A7C #7CD75A
tetradic
#5A7CD7 #D75ABB #D7B55A #5AD777
square
#5A7CD7 #D75ABB #D7B55A #5AD777
split-complementary
#5A7CD7 #D7775A #BBD75A
monochromatic
#244293 #3058C4 #5A7CD7 #8BA3E3 #BDCAEF
Accessibility & contrast
On white
3.96
#5A7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5A7CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7CD7
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7CD7 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5486DB
Deuteranopia (green-blind)
#437BD5
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a7cd7; /* rgb */ color: rgb(90, 124, 215); /* oklch */ color: oklch(60.4% 0.144 266.7);
Tailwind
colors: {
custom: {
50: '#92a1e4',
500: '#5a7cd7',
950: '#000000',
},
}SCSS
$custom: #5a7cd7; $custom-light: #92a1e4; $custom-dark: #000000;
JSON
{
"hex": "#5a7cd7",
"rgb": {
"r": 90,
"g": 124,
"b": 215
},
"hsl": {
"h": 223.68,
"s": 60.976,
"l": 59.804
},
"oklch": {
"l": 0.60428,
"c": 0.14383,
"h": 266.7
},
"luminance": 0.21495
}Semantic roles & 50–950 ramp
primary
#5A7CD7
secondary
#DFD1AE
accent
#B844E4
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84