#5B7CBB#5B7CBB
#5B7CBB is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.9% C 0.104 H 262.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CBB |
|---|---|
| RGB | rgb(91, 124, 187) |
| HSL | hsl(219, 41%, 55%) |
| HSV | hsv(219, 51%, 73%) |
| CMYK | cmyk(51.3%, 33.7%, 0%, 26.7%) |
| CIE-LAB | lab(52.09, 6.30, -36.72) |
| CIE-LCH | lch(52.09, 37.26, 279.73°) |
| OKLab | oklab(58.89% -0.0135 -0.1034) |
| OKLCH | oklch(58.89% 0.104 262.5) |
| XYZ | xyz(20.4887, 20.2259, 49.8284) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 5.18
Cornflower Blue
#5170D7
ΔE00 5.24
Windows Blue
#3778BF
ΔE00 5.58
Dusty Blue
#5A86AD
ΔE00 5.65
Faded Blue
#658CBB
ΔE00 5.72
Cool Blue
#4984B8
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CBB #BB9A5B
analogous
#5BACBB #5B7CBB #6A5BBB
triadic
#5B7CBB #BB5B7C #7CBB5B
tetradic
#5B7CBB #BB5BAC #BB9A5B #5BBB6A
square
#5B7CBB #BB5BAC #BB9A5B #5BBB6A
split-complementary
#5B7CBB #BB6A5B #ACBB5B
monochromatic
#2E446E #405E99 #5B7CBB #869FCD #B2C1DF
Accessibility & contrast
On white
4.16
#5B7CBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#5B7CBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CBB
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CBB | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#2E8A93
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5b7cbb; /* rgb */ color: rgb(91, 124, 187); /* oklch */ color: oklch(58.9% 0.104 262.5);
Tailwind
colors: {
custom: {
50: '#8fa1cf',
500: '#5b7cbb',
950: '#000000',
},
}SCSS
$custom: #5b7cbb; $custom-light: #8fa1cf; $custom-dark: #000000;
JSON
{
"hex": "#5b7cbb",
"rgb": {
"r": 91,
"g": 124,
"b": 187
},
"hsl": {
"h": 219.375,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.58893,
"c": 0.10432,
"h": 262.5
},
"luminance": 0.20227
}Semantic roles & 50–950 ramp
primary
#5B7CBB
secondary
#CDBFA5
accent
#A757D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82