#5781BB#5781BB
#5781BB is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.8% C 0.101 H 256.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5781BB |
|---|---|
| RGB | rgb(87, 129, 187) |
| HSL | hsl(215, 42%, 54%) |
| HSV | hsv(215, 53%, 73%) |
| CMYK | cmyk(53.5%, 31%, 0%, 26.7%) |
| CIE-LAB | lab(53.29, 2.39, -34.86) |
| CIE-LCH | lch(53.29, 34.94, 273.92°) |
| OKLab | oklab(59.77% -0.0232 -0.0981) |
| OKLCH | oklch(59.77% 0.101 256.7) |
| XYZ | xyz(20.7473, 21.3130, 50.0246) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Off Blue
#5684AE
ΔE00 3.22
Cool Blue
#4984B8
ΔE00 3.75
Dusty Blue
#5A86AD
ΔE00 3.79
Faded Blue
#658CBB
ΔE00 4.01
Steel Blue
#4682B4
ΔE00 4.18
Windows Blue
#3778BF
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781BB #BB9157
analogous
#57B3BB #5781BB #5F57BB
triadic
#5781BB #BB5781 #81BB57
tetradic
#5781BB #BB57B3 #BB9157 #57BB5F
square
#5781BB #BB57B3 #BB9157 #57BB5F
split-complementary
#5781BB #BB5F57 #B3BB57
monochromatic
#2C476C #3D6397 #5781BB #83A2CD #AEC2DE
Accessibility & contrast
On white
3.99
#5781BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5781BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781BB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781BB | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BD
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#1F8E96
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5781bb; /* rgb */ color: rgb(87, 129, 187); /* oklch */ color: oklch(59.8% 0.101 256.7);
Tailwind
colors: {
custom: {
50: '#8da5cf',
500: '#5781bb',
950: '#000000',
},
}SCSS
$custom: #5781bb; $custom-light: #8da5cf; $custom-dark: #000000;
JSON
{
"hex": "#5781bb",
"rgb": {
"r": 87,
"g": 129,
"b": 187
},
"hsl": {
"h": 214.8,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.59769,
"c": 0.10078,
"h": 256.7
},
"luminance": 0.21315
}Semantic roles & 50–950 ramp
primary
#5781BB
secondary
#CCBAA2
accent
#9E56D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82