#5797D2#5797D2

#5797D2 is a light, moderate cyan. Relative luminance 0.288; OKLCH L 65.9% C 0.110 H 248.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5797D2
RGBrgb(87, 151, 210)
HSLhsl(209, 58%, 58%)
HSVhsv(209, 59%, 82%)
CMYKcmyk(58.6%, 28.1%, 0%, 17.6%)
CIE-LABlab(60.61, -3.07, -36.41)
CIE-LCHlch(60.61, 36.54, 265.17°)
OKLaboklab(65.86% -0.0414 -0.1024)
OKLCHoklch(65.86% 0.11 248)
XYZxyz(26.6257, 28.8102, 65.1181)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797D2 #D29257
analogous
#57D2CF #5797D2 #575AD2
triadic
#5797D2 #D25797 #97D257
tetradic
#5797D2 #CF57D2 #D29257 #5AD257
square
#5797D2 #CF57D2 #D29257 #5AD257
split-complementary
#5797D2 #D2575A #D2CF57
monochromatic
#25598A #3279BA #5797D2 #87B5DF #B8D3EC

Accessibility & contrast

On white

3.11
#5797D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5797D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797D2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797D2#FFFFFF#000000##000000
##5797D21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E99D5
Deuteranopia (green-blind)
#6E8DD1
Tritanopia (blue-blind)
#00A5AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5797d2;
/* rgb */ color: rgb(87, 151, 210);
/* oklch */ color: oklch(65.9% 0.110 248.0);
Tailwind
colors: {
  custom: {
    50: '#90b5e0',
    500: '#5797d2',
    950: '#000000',
  },
}
SCSS
$custom: #5797d2;
$custom-light: #90b5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5797d2",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 208.78,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65858,
    "c": 0.11046,
    "h": 248
  },
  "luminance": 0.28813
}

Semantic roles & 50–950 ramp

primary
#5797D2
secondary
#DBC1AA
accent
#9147E1
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797D2

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

Preview Lab → · Contrast checker → · Palette generator →

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