#5797D9#5797D9

#5797D9 is a light, moderate cyan. Relative luminance 0.292; OKLCH L 66.2% C 0.119 H 250.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5797D9
RGBrgb(87, 151, 217)
HSLhsl(210, 63%, 60%)
HSVhsv(210, 60%, 85%)
CMYKcmyk(59.9%, 30.4%, 0%, 14.9%)
CIE-LABlab(60.93, -0.82, -39.82)
CIE-LCHlch(60.93, 39.83, 268.82°)
OKLaboklab(66.21% -0.0393 -0.1123)
OKLCHoklch(66.21% 0.119 250.7)
XYZxyz(27.5169, 29.1667, 69.8118)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797D9 #D99957
analogous
#57D8D9 #5797D9 #5857D9
triadic
#5797D9 #D95797 #97D957
tetradic
#5797D9 #D957D8 #D99957 #57D958
square
#5797D9 #D957D8 #D99957 #57D958
split-complementary
#5797D9 #D95857 #D8D957
monochromatic
#215A94 #2D78C6 #5797D9 #89B6E4 #BBD5F0

Accessibility & contrast

On white

3.07
#5797D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5797D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797D9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797D9#FFFFFF#000000##000000
##5797D91.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5797d9;
/* rgb */ color: rgb(87, 151, 217);
/* oklch */ color: oklch(66.2% 0.119 250.7);
Tailwind
colors: {
  custom: {
    50: '#91b5e5',
    500: '#5797d9',
    950: '#000000',
  },
}
SCSS
$custom: #5797d9;
$custom-light: #91b5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5797d9",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 217
  },
  "hsl": {
    "h": 210.462,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.11898,
    "h": 250.7
  },
  "luminance": 0.29169
}

Semantic roles & 50–950 ramp

primary
#5797D9
secondary
#DFC6AD
accent
#9542E6
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1115
muted
#7E8084

Preview Lab

Preview with #5797D9

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

Preview Lab → · Contrast checker → · Palette generator →

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