#5797CB#5797CB

#5797CB is a light, moderate cyan. Relative luminance 0.285; OKLCH L 65.5% C 0.102 H 244.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5797CB
RGBrgb(87, 151, 203)
HSLhsl(207, 53%, 57%)
HSVhsv(207, 57%, 80%)
CMYKcmyk(57.1%, 25.6%, 0%, 20.4%)
CIE-LABlab(60.31, -5.30, -32.97)
CIE-LCHlch(60.31, 33.39, 260.87°)
OKLaboklab(65.52% -0.0435 -0.0925)
OKLCHoklch(65.52% 0.102 244.8)
XYZxyz(25.7726, 28.4690, 60.6252)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797CB #CB8B57
analogous
#57CBC5 #5797CB #575DCB
triadic
#5797CB #CB5797 #97CB57
tetradic
#5797CB #C557CB #CB8B57 #5DCB57
square
#5797CB #C557CB #CB8B57 #5DCB57
split-complementary
#5797CB #CB575D #CBC557
monochromatic
#285880 #3679AF #5797CB #86B4D9 #B4D1E8

Accessibility & contrast

On white

3.14
#5797CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5797CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797CB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797CB#FFFFFF#000000##000000
##5797CB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#00A3A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5797cb;
/* rgb */ color: rgb(87, 151, 203);
/* oklch */ color: oklch(65.5% 0.102 244.8);
Tailwind
colors: {
  custom: {
    50: '#8fb5db',
    500: '#5797cb',
    950: '#000000',
  },
}
SCSS
$custom: #5797cb;
$custom-light: #8fb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5797cb",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 206.897,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65518,
    "c": 0.10221,
    "h": 244.8
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#5797CB
secondary
#D7BCA7
accent
#8C4CDC
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797CB

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

Preview Lab → · Contrast checker → · Palette generator →

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