#5797BC#5797BC

#5797BC is a light, moderate cyan. Relative luminance 0.278; OKLCH L 64.8% C 0.086 H 235.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5797BC
RGBrgb(87, 151, 188)
HSLhsl(202, 43%, 54%)
HSVhsv(202, 54%, 74%)
CMYKcmyk(53.7%, 19.7%, 0%, 26.3%)
CIE-LABlab(59.70, -9.94, -25.48)
CIE-LCHlch(59.70, 27.35, 248.69°)
OKLaboklab(64.83% -0.0487 -0.071)
OKLCHoklch(64.83% 0.086 235.6)
XYZxyz(24.0708, 27.7883, 51.6624)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797BC #BC7C57
analogous
#57BCAF #5797BC #5765BC
triadic
#5797BC #BC5797 #97BC57
tetradic
#5797BC #AF57BC #BC7C57 #65BC57
square
#5797BC #AF57BC #BC7C57 #65BC57
split-complementary
#5797BC #BC5765 #BCAF57
monochromatic
#2C556D #3D7799 #5797BC #83B2CD #AFCDDF

Accessibility & contrast

On white

3.20
#5797BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5797BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797BC#FFFFFF#000000##000000
##5797BC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BE
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#12A1A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5797bc;
/* rgb */ color: rgb(87, 151, 188);
/* oklch */ color: oklch(64.8% 0.086 235.6);
Tailwind
colors: {
  custom: {
    50: '#8db5d0',
    500: '#5797bc',
    950: '#000000',
  },
}
SCSS
$custom: #5797bc;
$custom-light: #8db5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5797bc",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 201.98,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.08607,
    "h": 235.6
  },
  "luminance": 0.2779
}

Semantic roles & 50–950 ramp

primary
#5797BC
secondary
#CDB2A2
accent
#8355D3
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5797BC

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

Preview Lab → · Contrast checker → · Palette generator →

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