#5797CC#5797CC

#5797CC is a light, moderate cyan. Relative luminance 0.285; OKLCH L 65.6% C 0.103 H 245.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5797CC
RGBrgb(87, 151, 204)
HSLhsl(207, 53%, 57%)
HSVhsv(207, 57%, 80%)
CMYKcmyk(57.4%, 26%, 0%, 20%)
CIE-LABlab(60.35, -4.98, -33.46)
CIE-LCHlch(60.35, 33.83, 261.53°)
OKLaboklab(65.57% -0.0432 -0.0939)
OKLCHoklch(65.57% 0.103 245.3)
XYZxyz(25.8922, 28.5168, 61.2548)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797CC #CC8C57
analogous
#57CCC6 #5797CC #575DCC
triadic
#5797CC #CC5797 #97CC57
tetradic
#5797CC #C657CC #CC8C57 #5DCC57
square
#5797CC #C657CC #CC8C57 #5DCC57
split-complementary
#5797CC #CC575D #CCC657
monochromatic
#275981 #3679B0 #5797CC #86B4DA #B5D1E9

Accessibility & contrast

On white

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

On black

6.70
#5797CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797CC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797CC#FFFFFF#000000##000000
##5797CC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#00A4A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5797cc;
/* rgb */ color: rgb(87, 151, 204);
/* oklch */ color: oklch(65.6% 0.103 245.3);
Tailwind
colors: {
  custom: {
    50: '#8fb5db',
    500: '#5797cc',
    950: '#000000',
  },
}
SCSS
$custom: #5797cc;
$custom-light: #8fb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5797cc",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 207.179,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65566,
    "c": 0.10336,
    "h": 245.3
  },
  "luminance": 0.28519
}

Semantic roles & 50–950 ramp

primary
#5797CC
secondary
#D7BDA8
accent
#8D4BDD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797CC

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

Preview Lab → · Contrast checker → · Palette generator →

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