#5797DB#5797DB

#5797DB is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.3% C 0.121 H 251.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5797DB
RGBrgb(87, 151, 219)
HSLhsl(211, 65%, 60%)
HSVhsv(211, 60%, 86%)
CMYKcmyk(60.3%, 31.1%, 0%, 14.1%)
CIE-LABlab(61.02, -0.17, -40.79)
CIE-LCHlch(61.02, 40.79, 269.76°)
OKLaboklab(66.31% -0.0387 -0.1151)
OKLCHoklch(66.31% 0.121 251.4)
XYZxyz(27.7786, 29.2714, 71.1901)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797DB #DB9B57
analogous
#57D9DB #5797DB #5957DB
triadic
#5797DB #DB5797 #97DB57
tetradic
#5797DB #DB57D9 #DB9B57 #57DB59
square
#5797DB #DB57D9 #DB9B57 #57DB59
split-complementary
#5797DB #DB5957 #D9DB57
monochromatic
#205A97 #2B78CA #5797DB #89B6E6 #BCD5F1

Accessibility & contrast

On white

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

On black

6.85
#5797DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797DB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797DB#FFFFFF#000000##000000
##5797DB1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#698DDA
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5797db;
/* rgb */ color: rgb(87, 151, 219);
/* oklch */ color: oklch(66.3% 0.121 251.4);
Tailwind
colors: {
  custom: {
    50: '#91b5e6',
    500: '#5797db',
    950: '#000000',
  },
}
SCSS
$custom: #5797db;
$custom-light: #91b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5797db",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 210.909,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.12147,
    "h": 251.4
  },
  "luminance": 0.29274
}

Semantic roles & 50–950 ramp

primary
#5797DB
secondary
#E0C8AD
accent
#9640E8
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797DB

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

Preview Lab → · Contrast checker → · Palette generator →

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