#5797B2#5797B2
#5797B2 is a light, moderate cyan. Relative luminance 0.274; OKLCH L 64.4% C 0.077 H 227.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5797B2 |
|---|---|
| RGB | rgb(87, 151, 178) |
| HSL | hsl(198, 37%, 52%) |
| HSV | hsv(198, 51%, 70%) |
| CMYK | cmyk(51.1%, 15.2%, 0%, 30.2%) |
| CIE-LAB | lab(59.32, -12.93, -20.41) |
| CIE-LCH | lch(59.32, 24.16, 237.65°) |
| OKLab | oklab(64.4% -0.0524 -0.0566) |
| OKLCH | oklch(64.4% 0.077 227.2) |
| XYZ | xyz(23.0300, 27.3719, 46.1805) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Greyblue
#77A1B5
ΔE00 5.37
Dirty Blue
#3F829D
ΔE00 7.64
Bluegrey
#85A3B2
ΔE00 8.15
Blue Grey
#758DA3
ΔE00 8.51
Dusty Blue
#5A86AD
ΔE00 8.54
Bluish Grey
#748B97
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5797B2 #B27257
analogous
#57B2A0 #5797B2 #576AB2
triadic
#5797B2 #B25797 #97B257
tetradic
#5797B2 #A057B2 #B27257 #6AB257
square
#5797B2 #A057B2 #B27257 #6AB257
split-complementary
#5797B2 #B2576A #B2A057
monochromatic
#2D5262 #40758C #5797B2 #81B1C5 #ABCBD8
Accessibility & contrast
On white
3.24
#5797B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#5797B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5797B2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5797B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5797B2 | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8995B3
Deuteranopia (green-blind)
#7C8AB2
Tritanopia (blue-blind)
#229FA0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5797b2; /* rgb */ color: rgb(87, 151, 178); /* oklch */ color: oklch(64.4% 0.077 227.2);
Tailwind
colors: {
custom: {
50: '#8cb5c9',
500: '#5797b2',
950: '#000000',
},
}SCSS
$custom: #5797b2; $custom-light: #8cb5c9; $custom-dark: #000000;
JSON
{
"hex": "#5797b2",
"rgb": {
"r": 87,
"g": 151,
"b": 178
},
"hsl": {
"h": 197.802,
"s": 37.143,
"l": 51.961
},
"oklch": {
"l": 0.64403,
"c": 0.0771,
"h": 227.2
},
"luminance": 0.27374
}Semantic roles & 50–950 ramp
primary
#5797B2
secondary
#C6AA9E
accent
#7D5BCD
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0D1113
muted
#7D8082