#5A7EBF#5A7EBF
#5A7EBF is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.5% C 0.108 H 261.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EBF |
|---|---|
| RGB | rgb(90, 126, 191) |
| HSL | hsl(219, 44%, 55%) |
| HSV | hsv(219, 53%, 75%) |
| CMYK | cmyk(52.9%, 34%, 0%, 25.1%) |
| CIE-LAB | lab(52.79, 6.13, -37.92) |
| CIE-LCH | lch(52.79, 38.41, 279.19°) |
| OKLab | oklab(59.49% -0.0158 -0.1069) |
| OKLCH | oklch(59.49% 0.108 261.6) |
| XYZ | xyz(21.0781, 20.8554, 52.1949) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.70
Faded Blue
#658CBB
ΔE00 5.01
Dusty Blue
#5A86AD
ΔE00 5.15
Windows Blue
#3778BF
ΔE00 5.39
Cool Blue
#4984B8
ΔE00 5.48
Cornflower Blue
#5170D7
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EBF #BF9B5A
analogous
#5AB0BF #5A7EBF #685ABF
triadic
#5A7EBF #BF5A7E #7EBF5A
tetradic
#5A7EBF #BF5AB0 #BF9B5A #5ABF68
square
#5A7EBF #BF5AB0 #BF9B5A #5ABF68
split-complementary
#5A7EBF #BF685A #B0BF5A
monochromatic
#2C4572 #3D609E #5A7EBF #86A0D0 #B2C3E1
Accessibility & contrast
On white
4.06
#5A7EBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#5A7EBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EBF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EBF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#268C96
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5a7ebf; /* rgb */ color: rgb(90, 126, 191); /* oklch */ color: oklch(59.5% 0.108 261.6);
Tailwind
colors: {
custom: {
50: '#8fa3d2',
500: '#5a7ebf',
950: '#000000',
},
}SCSS
$custom: #5a7ebf; $custom-light: #8fa3d2; $custom-dark: #000000;
JSON
{
"hex": "#5a7ebf",
"rgb": {
"r": 90,
"g": 126,
"b": 191
},
"hsl": {
"h": 218.614,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.59485,
"c": 0.10808,
"h": 261.6
},
"luminance": 0.20857
}Semantic roles & 50–950 ramp
primary
#5A7EBF
secondary
#D0C0A5
accent
#A654D4
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82