#5785B2#5785B2
#5785B2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.2% C 0.086 H 248.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5785B2 |
|---|---|
| RGB | rgb(87, 133, 178) |
| HSL | hsl(210, 37%, 52%) |
| HSV | hsv(210, 51%, 70%) |
| CMYK | cmyk(51.1%, 25.3%, 0%, 30.2%) |
| CIE-LAB | lab(54.04, -2.78, -28.53) |
| CIE-LCH | lch(54.04, 28.67, 264.44°) |
| OKLab | oklab(60.23% -0.0308 -0.0798) |
| OKLCH | oklch(60.23% 0.086 248.9) |
| XYZ | xyz(20.3511, 22.0141, 45.2876) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Off Blue
#5684AE
ΔE00 0.82
Dusty Blue
#5A86AD
ΔE00 1.29
Cool Blue
#4984B8
ΔE00 2.07
Steel Blue
#4682B4
ΔE00 2.59
Faded Blue
#658CBB
ΔE00 3.37
Greyish Blue
#5E819D
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785B2 #B28457
analogous
#57B2B2 #5785B2 #5758B2
triadic
#5785B2 #B25785 #85B257
tetradic
#5785B2 #B257B2 #B28457 #58B257
square
#5785B2 #B257B2 #B28457 #58B257
split-complementary
#5785B2 #B25758 #B2B257
monochromatic
#2D4862 #40668C #5785B2 #81A3C5 #ABC2D8
Accessibility & contrast
On white
3.89
#5785B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5785B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785B2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785B2 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#298F94
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5785b2; /* rgb */ color: rgb(87, 133, 178); /* oklch */ color: oklch(60.2% 0.086 248.9);
Tailwind
colors: {
custom: {
50: '#8ca8c9',
500: '#5785b2',
950: '#000000',
},
}SCSS
$custom: #5785b2; $custom-light: #8ca8c9; $custom-dark: #000000;
JSON
{
"hex": "#5785b2",
"rgb": {
"r": 87,
"g": 133,
"b": 178
},
"hsl": {
"h": 209.67,
"s": 37.143,
"l": 51.961
},
"oklch": {
"l": 0.60227,
"c": 0.08551,
"h": 248.9
},
"luminance": 0.22016
}Semantic roles & 50–950 ramp
primary
#5785B2
secondary
#C6B29E
accent
#935BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82