#5796DD#5796DD

#5796DD is a light, vivid cyan. Relative luminance 0.291; OKLCH L 66.2% C 0.125 H 252.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5796DD
RGBrgb(87, 150, 221)
HSLhsl(212, 66%, 60%)
HSVhsv(212, 61%, 87%)
CMYKcmyk(60.6%, 32.1%, 0%, 13.3%)
CIE-LABlab(60.83, 1.06, -42.20)
CIE-LCHlch(60.83, 42.22, 271.44°)
OKLaboklab(66.19% -0.0371 -0.1192)
OKLCHoklch(66.19% 0.125 252.7)
XYZxyz(27.8833, 29.0568, 72.5317)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796DD #DD9E57
analogous
#57D9DD #5796DD #5B57DD
triadic
#5796DD #DD5796 #96DD57
tetradic
#5796DD #DD57D9 #DD9E57 #57DD5B
square
#5796DD #DD57D9 #DD9E57 #57DD5B
split-complementary
#5796DD #DD5B57 #D9DD57
monochromatic
#1F599A #2A77CD #5796DD #8AB6E7 #BDD6F2

Accessibility & contrast

On white

3.08
#5796DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5796DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796DD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796DD#FFFFFF#000000##000000
##5796DD1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5796dd;
/* rgb */ color: rgb(87, 150, 221);
/* oklch */ color: oklch(66.2% 0.125 252.7);
Tailwind
colors: {
  custom: {
    50: '#91b4e8',
    500: '#5796dd',
    950: '#000000',
  },
}
SCSS
$custom: #5796dd;
$custom-light: #91b4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5796dd",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 211.791,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.12487,
    "h": 252.7
  },
  "luminance": 0.29059
}

Semantic roles & 50–950 ramp

primary
#5796DD
secondary
#E1C9AE
accent
#7817CE
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796DD

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

Preview Lab → · Contrast checker → · Palette generator →

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