#5A7CCD#5A7CCD
#5A7CCD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.130 H 265.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7CCD |
|---|---|
| RGB | rgb(90, 124, 205) |
| HSL | hsl(222, 53%, 58%) |
| HSV | hsv(222, 56%, 80%) |
| CMYK | cmyk(56.1%, 39.5%, 0%, 19.6%) |
| CIE-LAB | lab(52.94, 11.85, -45.66) |
| CIE-LCH | lch(52.94, 47.17, 284.56°) |
| OKLab | oklab(59.84% -0.0102 -0.1295) |
| OKLCH | oklch(59.84% 0.13 265.5) |
| XYZ | xyz(22.4398, 20.9950, 60.6157) |
| Luminance | 0.2100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.29
Soft Blue
#6488EA
ΔE00 5.30
Lightish Blue
#3D7AFD
ΔE00 5.40
Faded Blue
#658CBB
ΔE00 5.87
Off Blue
#5684AE
ΔE00 5.88
Clear Blue
#247AFD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7CCD #CDAB5A
analogous
#5AB5CD #5A7CCD #725ACD
triadic
#5A7CCD #CD5A7C #7CCD5A
tetradic
#5A7CCD #CD5AB5 #CDAB5A #5ACD72
square
#5A7CCD #CD5AB5 #CDAB5A #5ACD72
split-complementary
#5A7CCD #CD725A #B5CD5A
monochromatic
#284384 #365BB3 #5A7CCD #89A1DB #B8C7E9
Accessibility & contrast
On white
4.04
#5A7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5A7CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7CCD
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7CCD | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#0C8E9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a7ccd; /* rgb */ color: rgb(90, 124, 205); /* oklch */ color: oklch(59.8% 0.130 265.5);
Tailwind
colors: {
custom: {
50: '#91a1dc',
500: '#5a7ccd',
950: '#000000',
},
}SCSS
$custom: #5a7ccd; $custom-light: #91a1dc; $custom-dark: #000000;
JSON
{
"hex": "#5a7ccd",
"rgb": {
"r": 90,
"g": 124,
"b": 205
},
"hsl": {
"h": 222.261,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.59836,
"c": 0.12992,
"h": 265.5
},
"luminance": 0.20997
}Semantic roles & 50–950 ramp
primary
#5A7CCD
secondary
#D8CBAA
accent
#B24BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83