#5A7CBE#5A7CBE
#5A7CBE is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.0% C 0.109 H 262.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7CBE |
|---|---|
| RGB | rgb(90, 124, 190) |
| HSL | hsl(220, 43%, 55%) |
| HSV | hsv(220, 53%, 75%) |
| CMYK | cmyk(52.6%, 34.7%, 0%, 25.5%) |
| CIE-LAB | lab(52.18, 7.02, -38.31) |
| CIE-LCH | lch(52.18, 38.95, 280.38°) |
| OKLab | oklab(59% -0.0137 -0.1081) |
| OKLCH | oklch(59% 0.109 262.8) |
| XYZ | xyz(20.7152, 20.3052, 51.5329) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.04
Off Blue
#5684AE
ΔE00 5.19
Windows Blue
#3778BF
ΔE00 5.47
Dusty Blue
#5A86AD
ΔE00 5.66
Faded Blue
#658CBB
ΔE00 5.70
Cool Blue
#4984B8
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7CBE #BE9C5A
analogous
#5AAEBE #5A7CBE #6A5ABE
triadic
#5A7CBE #BE5A7C #7CBE5A
tetradic
#5A7CBE #BE5AAE #BE9C5A #5ABE6A
square
#5A7CBE #BE5AAE #BE9C5A #5ABE6A
split-complementary
#5A7CBE #BE6A5A #AEBE5A
monochromatic
#2D4471 #3E5E9D #5A7CBE #869FCF #B2C2E1
Accessibility & contrast
On white
4.15
#5A7CBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#5A7CBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7CBE
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7CBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7CBE | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6281C1
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#288A94
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5a7cbe; /* rgb */ color: rgb(90, 124, 190); /* oklch */ color: oklch(59.0% 0.109 262.8);
Tailwind
colors: {
custom: {
50: '#8fa1d2',
500: '#5a7cbe',
950: '#000000',
},
}SCSS
$custom: #5a7cbe; $custom-light: #8fa1d2; $custom-dark: #000000;
JSON
{
"hex": "#5a7cbe",
"rgb": {
"r": 90,
"g": 124,
"b": 190
},
"hsl": {
"h": 219.6,
"s": 43.478,
"l": 54.902
},
"oklch": {
"l": 0.58995,
"c": 0.10893,
"h": 262.8
},
"luminance": 0.20307
}Semantic roles & 50–950 ramp
primary
#5A7CBE
secondary
#CFC1A5
accent
#A855D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82