#5797D8#5797D8

#5797D8 is a light, moderate cyan. Relative luminance 0.291; OKLCH L 66.2% C 0.118 H 250.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5797D8
RGBrgb(87, 151, 216)
HSLhsl(210, 62%, 59%)
HSVhsv(210, 60%, 85%)
CMYKcmyk(59.7%, 30.1%, 0%, 15.3%)
CIE-LABlab(60.88, -1.14, -39.34)
CIE-LCHlch(60.88, 39.35, 268.34°)
OKLaboklab(66.16% -0.0396 -0.1109)
OKLCHoklch(66.16% 0.118 250.4)
XYZxyz(27.3873, 29.1148, 69.1289)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797D8 #D89857
analogous
#57D7D8 #5797D8 #5857D8
triadic
#5797D8 #D85797 #97D857
tetradic
#5797D8 #D857D7 #D89857 #57D858
square
#5797D8 #D857D7 #D89857 #57D858
split-complementary
#5797D8 #D85857 #D7D857
monochromatic
#225A93 #2E78C4 #5797D8 #89B6E4 #BAD4EF

Accessibility & contrast

On white

3.08
#5797D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5797D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797D8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797D8#FFFFFF#000000##000000
##5797D81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADB
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#00A6AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5797d8;
/* rgb */ color: rgb(87, 151, 216);
/* oklch */ color: oklch(66.2% 0.118 250.4);
Tailwind
colors: {
  custom: {
    50: '#91b5e4',
    500: '#5797d8',
    950: '#000000',
  },
}
SCSS
$custom: #5797d8;
$custom-light: #91b5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5797d8",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 216
  },
  "hsl": {
    "h": 210.233,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66158,
    "c": 0.11775,
    "h": 250.4
  },
  "luminance": 0.29117
}

Semantic roles & 50–950 ramp

primary
#5797D8
secondary
#DFC6AC
accent
#9542E5
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1115
muted
#7E8084

Preview Lab

Preview with #5797D8

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

Preview Lab → · Contrast checker → · Palette generator →

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