#5797DC#5797DC

#5797DC is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.4% C 0.123 H 251.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5797DC
RGBrgb(87, 151, 220)
HSLhsl(211, 66%, 60%)
HSVhsv(211, 60%, 86%)
CMYKcmyk(60.5%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.07, 0.15, -41.28)
CIE-LCHlch(61.07, 41.28, 270.21°)
OKLaboklab(66.36% -0.0384 -0.1165)
OKLCHoklch(66.36% 0.123 251.7)
XYZxyz(27.9107, 29.3242, 71.8855)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797DC #DC9C57
analogous
#57D9DC #5797DC #5A57DC
triadic
#5797DC #DC5797 #97DC57
tetradic
#5797DC #DC57D9 #DC9C57 #57DC5A
square
#5797DC #DC57D9 #DC9C57 #57DC5A
split-complementary
#5797DC #DC5A57 #D9DC57
monochromatic
#205A99 #2A78CB #5797DC #8AB6E7 #BCD6F1

Accessibility & contrast

On white

3.06
#5797DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#5797DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797DC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797DC#FFFFFF#000000##000000
##5797DC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADF
Deuteranopia (green-blind)
#688EDB
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5797dc;
/* rgb */ color: rgb(87, 151, 220);
/* oklch */ color: oklch(66.4% 0.123 251.7);
Tailwind
colors: {
  custom: {
    50: '#91b5e7',
    500: '#5797dc',
    950: '#000000',
  },
}
SCSS
$custom: #5797dc;
$custom-light: #91b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5797dc",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 211.128,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.12271,
    "h": 251.7
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#5797DC
secondary
#E1C8AE
accent
#7618CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797DC

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

Preview Lab → · Contrast checker → · Palette generator →

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