#5A7BCD#5A7BCD
#5A7BCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.131 H 266.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7BCD |
|---|---|
| RGB | rgb(90, 123, 205) |
| HSL | hsl(223, 53%, 58%) |
| HSV | hsv(223, 56%, 80%) |
| CMYK | cmyk(56.1%, 40%, 0%, 19.6%) |
| CIE-LAB | lab(52.67, 12.46, -46.09) |
| CIE-LCH | lch(52.67, 47.75, 285.13°) |
| OKLab | oklab(59.62% -0.0091 -0.1308) |
| OKLCH | oklch(59.62% 0.131 266) |
| XYZ | xyz(22.3151, 20.7456, 60.5741) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.96
Lightish Blue
#3D7AFD
ΔE00 5.47
Soft Blue
#6488EA
ΔE00 5.55
Clear Blue
#247AFD
ΔE00 6.02
Off Blue
#5684AE
ΔE00 6.09
Faded Blue
#658CBB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7BCD #CDAC5A
analogous
#5AB4CD #5A7BCD #735ACD
triadic
#5A7BCD #CD5A7B #7BCD5A
tetradic
#5A7BCD #CD5AB4 #CDAC5A #5ACD73
square
#5A7BCD #CD5AB4 #CDAC5A #5ACD73
split-complementary
#5A7BCD #CD735A #B4CD5A
monochromatic
#284384 #365AB3 #5A7BCD #89A1DB #B8C6E9
Accessibility & contrast
On white
4.08
#5A7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#5A7BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7BCD
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7BCD | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#0D8D9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a7bcd; /* rgb */ color: rgb(90, 123, 205); /* oklch */ color: oklch(59.6% 0.131 266.0);
Tailwind
colors: {
custom: {
50: '#91a0dd',
500: '#5a7bcd',
950: '#000000',
},
}SCSS
$custom: #5a7bcd; $custom-light: #91a0dd; $custom-dark: #000000;
JSON
{
"hex": "#5a7bcd",
"rgb": {
"r": 90,
"g": 123,
"b": 205
},
"hsl": {
"h": 222.783,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.59624,
"c": 0.13112,
"h": 266
},
"luminance": 0.20747
}Semantic roles & 50–950 ramp
primary
#5A7BCD
secondary
#D8CBAA
accent
#B34BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83