#5796DC#5796DC

#5796DC is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.1% C 0.124 H 252.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5796DC
RGBrgb(87, 150, 220)
HSLhsl(212, 66%, 60%)
HSVhsv(212, 60%, 86%)
CMYKcmyk(60.5%, 31.8%, 0%, 13.7%)
CIE-LABlab(60.78, 0.73, -41.72)
CIE-LCHlch(60.78, 41.73, 271.00°)
OKLaboklab(66.14% -0.0374 -0.1178)
OKLCHoklch(66.14% 0.124 252.4)
XYZxyz(27.7504, 29.0037, 71.8321)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796DC #DC9D57
analogous
#57D8DC #5796DC #5B57DC
triadic
#5796DC #DC5796 #96DC57
tetradic
#5796DC #DC57D8 #DC9D57 #57DC5B
square
#5796DC #DC57D8 #DC9D57 #57DC5B
split-complementary
#5796DC #DC5B57 #D8DC57
monochromatic
#205999 #2A77CB #5796DC #8AB6E7 #BCD5F1

Accessibility & contrast

On white

3.09
#5796DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5796DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796DC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796DC#FFFFFF#000000##000000
##5796DC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5796dc;
/* rgb */ color: rgb(87, 150, 220);
/* oklch */ color: oklch(66.1% 0.124 252.4);
Tailwind
colors: {
  custom: {
    50: '#91b4e7',
    500: '#5796dc',
    950: '#000000',
  },
}
SCSS
$custom: #5796dc;
$custom-light: #91b4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5796dc",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 211.579,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.12362,
    "h": 252.4
  },
  "luminance": 0.29006
}

Semantic roles & 50–950 ramp

primary
#5796DC
secondary
#E1C9AE
accent
#7818CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796DC

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

Preview Lab → · Contrast checker → · Palette generator →

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