#5A7BBD#5A7BBD
#5A7BBD is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.7% C 0.109 H 263.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7BBD |
|---|---|
| RGB | rgb(90, 123, 189) |
| HSL | hsl(220, 43%, 55%) |
| HSV | hsv(220, 52%, 74%) |
| CMYK | cmyk(52.4%, 34.9%, 0%, 25.9%) |
| CIE-LAB | lab(51.85, 7.30, -38.25) |
| CIE-LCH | lch(51.85, 38.94, 280.81°) |
| OKLab | oklab(58.72% -0.0128 -0.1079) |
| OKLCH | oklch(58.72% 0.109 263.2) |
| XYZ | xyz(20.4816, 20.0122, 50.9177) |
| Luminance | 0.2001 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.86
Off Blue
#5684AE
ΔE00 5.43
Windows Blue
#3778BF
ΔE00 5.53
Dusty Blue
#5A86AD
ΔE00 5.92
Faded Blue
#658CBB
ΔE00 6.05
Cool Blue
#4984B8
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7BBD #BD9C5A
analogous
#5AADBD #5A7BBD #6B5ABD
triadic
#5A7BBD #BD5A7B #7BBD5A
tetradic
#5A7BBD #BD5AAD #BD9C5A #5ABD6B
square
#5A7BBD #BD5AAD #BD9C5A #5ABD6B
split-complementary
#5A7BBD #BD6B5A #ADBD5A
monochromatic
#2D4370 #3E5D9C #5A7BBD #869ECE #B1C1E0
Accessibility & contrast
On white
4.20
#5A7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#5A7BBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7BBD
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7BBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7BBD | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#5677BC
Tritanopia (blue-blind)
#298993
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5a7bbd; /* rgb */ color: rgb(90, 123, 189); /* oklch */ color: oklch(58.7% 0.109 263.2);
Tailwind
colors: {
custom: {
50: '#8fa0d1',
500: '#5a7bbd',
950: '#000000',
},
}SCSS
$custom: #5a7bbd; $custom-light: #8fa0d1; $custom-dark: #000000;
JSON
{
"hex": "#5a7bbd",
"rgb": {
"r": 90,
"g": 123,
"b": 189
},
"hsl": {
"h": 220,
"s": 42.857,
"l": 54.706
},
"oklch": {
"l": 0.58723,
"c": 0.10867,
"h": 263.2
},
"luminance": 0.20014
}Semantic roles & 50–950 ramp
primary
#5A7BBD
secondary
#CEC0A5
accent
#A955D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82