#5797CD#5797CD

#5797CD is a light, moderate cyan. Relative luminance 0.286; OKLCH L 65.6% C 0.105 H 245.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5797CD
RGBrgb(87, 151, 205)
HSLhsl(207, 54%, 57%)
HSVhsv(207, 58%, 80%)
CMYKcmyk(57.6%, 26.3%, 0%, 19.6%)
CIE-LABlab(60.40, -4.66, -33.95)
CIE-LCHlch(60.40, 34.27, 262.18°)
OKLaboklab(65.61% -0.0429 -0.0953)
OKLCHoklch(65.61% 0.105 245.8)
XYZxyz(26.0125, 28.5649, 61.8885)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797CD #CD8D57
analogous
#57CDC8 #5797CD #575CCD
triadic
#5797CD #CD5797 #97CD57
tetradic
#5797CD #C857CD #CD8D57 #5CCD57
square
#5797CD #C857CD #CD8D57 #5CCD57
split-complementary
#5797CD #CD575C #CDC857
monochromatic
#275983 #3579B2 #5797CD #86B4DB #B5D1E9

Accessibility & contrast

On white

3.13
#5797CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5797CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797CD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797CD#FFFFFF#000000##000000
##5797CD1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#00A4AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5797cd;
/* rgb */ color: rgb(87, 151, 205);
/* oklch */ color: oklch(65.6% 0.105 245.8);
Tailwind
colors: {
  custom: {
    50: '#8fb5dc',
    500: '#5797cd',
    950: '#000000',
  },
}
SCSS
$custom: #5797cd;
$custom-light: #8fb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5797cd",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 207.458,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.10453,
    "h": 245.8
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#5797CD
secondary
#D8BEA8
accent
#8E4ADD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797CD

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

Preview Lab → · Contrast checker → · Palette generator →

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