#5A7FC0#5A7FC0
#5A7FC0 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.108 H 261.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FC0 |
|---|---|
| RGB | rgb(90, 127, 192) |
| HSL | hsl(218, 45%, 55%) |
| HSV | hsv(218, 53%, 75%) |
| CMYK | cmyk(53.1%, 33.9%, 0%, 24.7%) |
| CIE-LAB | lab(53.12, 5.85, -37.97) |
| CIE-LCH | lch(53.12, 38.42, 278.76°) |
| OKLab | oklab(59.76% -0.0167 -0.1071) |
| OKLCH | oklch(59.76% 0.108 261.1) |
| XYZ | xyz(21.3170, 21.1566, 52.8193) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.51
Faded Blue
#658CBB
ΔE00 4.68
Dusty Blue
#5A86AD
ΔE00 4.95
Cool Blue
#4984B8
ΔE00 5.25
Windows Blue
#3778BF
ΔE00 5.42
Steel Blue
#4682B4
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FC0 #C09B5A
analogous
#5AB2C0 #5A7FC0 #685AC0
triadic
#5A7FC0 #C05A7F #7FC05A
tetradic
#5A7FC0 #C05AB2 #C09B5A #5AC068
square
#5A7FC0 #C05AB2 #C09B5A #5AC068
split-complementary
#5A7FC0 #C0685A #B2C05A
monochromatic
#2C4673 #3D61A0 #5A7FC0 #86A1D1 #B3C4E2
Accessibility & contrast
On white
4.01
#5A7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#5A7FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FC0
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FC0 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6584C3
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#248D97
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7fc0; /* rgb */ color: rgb(90, 127, 192); /* oklch */ color: oklch(59.8% 0.108 261.1);
Tailwind
colors: {
custom: {
50: '#8fa3d3',
500: '#5a7fc0',
950: '#000000',
},
}SCSS
$custom: #5a7fc0; $custom-light: #8fa3d3; $custom-dark: #000000;
JSON
{
"hex": "#5a7fc0",
"rgb": {
"r": 90,
"g": 127,
"b": 192
},
"hsl": {
"h": 218.235,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.59757,
"c": 0.10837,
"h": 261.1
},
"luminance": 0.21158
}Semantic roles & 50–950 ramp
primary
#5A7FC0
secondary
#D0C1A6
accent
#A653D4
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83