#5797D7#5797D7

#5797D7 is a light, moderate cyan. Relative luminance 0.291; OKLCH L 66.1% C 0.117 H 250.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5797D7
RGBrgb(87, 151, 215)
HSLhsl(210, 62%, 59%)
HSVhsv(210, 60%, 84%)
CMYKcmyk(59.5%, 29.8%, 0%, 15.7%)
CIE-LABlab(60.84, -1.47, -38.85)
CIE-LCHlch(60.84, 38.88, 267.84°)
OKLaboklab(66.11% -0.0399 -0.1095)
OKLCHoklch(66.11% 0.117 250)
XYZxyz(27.2584, 29.0633, 68.4501)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797D7 #D79757
analogous
#57D7D7 #5797D7 #5757D7
triadic
#5797D7 #D75797 #97D757
tetradic
#5797D7 #D757D7 #D79757 #57D757
square
#5797D7 #D757D7 #D79757 #57D757
split-complementary
#5797D7 #D75757 #D7D757
monochromatic
#235A91 #2E78C2 #5797D7 #88B6E3 #BAD4EF

Accessibility & contrast

On white

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

On black

6.81
#5797D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797D7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797D7#FFFFFF#000000##000000
##5797D71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5797d7;
/* rgb */ color: rgb(87, 151, 215);
/* oklch */ color: oklch(66.1% 0.117 250.0);
Tailwind
colors: {
  custom: {
    50: '#90b5e3',
    500: '#5797d7',
    950: '#000000',
  },
}
SCSS
$custom: #5797d7;
$custom-light: #90b5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5797d7",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 215
  },
  "hsl": {
    "h": 210,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.11652,
    "h": 250
  },
  "luminance": 0.29066
}

Semantic roles & 50–950 ramp

primary
#5797D7
secondary
#DEC5AC
accent
#9443E5
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0E1115
muted
#7E8083

Preview Lab

Preview with #5797D7

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

Preview Lab → · Contrast checker → · Palette generator →

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