#5A7FC4#5A7FC4
#5A7FC4 is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.0% C 0.114 H 262.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FC4 |
|---|---|
| RGB | rgb(90, 127, 196) |
| HSL | hsl(219, 47%, 56%) |
| HSV | hsv(219, 54%, 77%) |
| CMYK | cmyk(54.1%, 35.2%, 0%, 23.1%) |
| CIE-LAB | lab(53.32, 7.13, -39.95) |
| CIE-LCH | lch(53.32, 40.58, 280.12°) |
| OKLab | oklab(59.97% -0.0157 -0.1128) |
| OKLCH | oklch(59.97% 0.114 262.1) |
| XYZ | xyz(21.7662, 21.3363, 55.1852) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.74
Off Blue
#5684AE
ΔE00 4.77
Dusty Blue
#5A86AD
ΔE00 5.16
Cool Blue
#4984B8
ΔE00 5.48
Soft Blue
#6488EA
ΔE00 5.48
Cornflower Blue
#5170D7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FC4 #C49F5A
analogous
#5AB4C4 #5A7FC4 #6A5AC4
triadic
#5A7FC4 #C45A7F #7FC45A
tetradic
#5A7FC4 #C45AB4 #C49F5A #5AC46A
square
#5A7FC4 #C45AB4 #C49F5A #5AC46A
split-complementary
#5A7FC4 #C46A5A #B4C45A
monochromatic
#2B4679 #3B60A6 #5A7FC4 #87A2D4 #B4C5E4
Accessibility & contrast
On white
3.99
#5A7FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5A7FC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FC4
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FC4 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6385C7
Deuteranopia (green-blind)
#577BC3
Tritanopia (blue-blind)
#1F8E98
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7fc4; /* rgb */ color: rgb(90, 127, 196); /* oklch */ color: oklch(60.0% 0.114 262.1);
Tailwind
colors: {
custom: {
50: '#90a3d6',
500: '#5a7fc4',
950: '#000000',
},
}SCSS
$custom: #5a7fc4; $custom-light: #90a3d6; $custom-dark: #000000;
JSON
{
"hex": "#5a7fc4",
"rgb": {
"r": 90,
"g": 127,
"b": 196
},
"hsl": {
"h": 219.057,
"s": 47.321,
"l": 56.078
},
"oklch": {
"l": 0.59973,
"c": 0.11391,
"h": 262.1
},
"luminance": 0.21338
}Semantic roles & 50–950 ramp
primary
#5A7FC4
secondary
#D3C4A7
accent
#A851D7
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83