#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
RGBrgb(87, 151, 178)
HSLhsl(198, 37%, 52%)
HSVhsv(198, 51%, 70%)
CMYKcmyk(51.1%, 15.2%, 0%, 30.2%)
CIE-LABlab(59.32, -12.93, -20.41)
CIE-LCHlch(59.32, 24.16, 237.65°)
OKLaboklab(64.4% -0.0524 -0.0566)
OKLCHoklch(64.4% 0.077 227.2)
XYZxyz(23.0300, 27.3719, 46.1805)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##5797B21.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.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

Preview Lab

Preview with #5797B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5797B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva