#5796CE#5796CE

#5796CE is a light, moderate cyan. Relative luminance 0.283; OKLCH L 65.4% C 0.106 H 247.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5796CE
RGBrgb(87, 150, 206)
HSLhsl(208, 55%, 57%)
HSVhsv(208, 58%, 81%)
CMYKcmyk(57.8%, 27.2%, 0%, 19.2%)
CIE-LABlab(60.15, -3.78, -34.89)
CIE-LCHlch(60.15, 35.10, 263.82°)
OKLaboklab(65.44% -0.0415 -0.098)
OKLCHoklch(65.44% 0.106 247.1)
XYZxyz(25.9734, 28.2929, 62.4729)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796CE #CE8F57
analogous
#57CECA #5796CE #575BCE
triadic
#5796CE #CE5796 #96CE57
tetradic
#5796CE #CA57CE #CE8F57 #5BCE57
square
#5796CE #CA57CE #CE8F57 #5BCE57
split-complementary
#5796CE #CE575B #CECA57
monochromatic
#275884 #3478B3 #5796CE #86B4DC #B6D1EA

Accessibility & contrast

On white

3.15
#5796CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5796CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796CE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796CE#FFFFFF#000000##000000
##5796CE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E98D1
Deuteranopia (green-blind)
#6E8CCD
Tritanopia (blue-blind)
#00A3A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5796ce;
/* rgb */ color: rgb(87, 150, 206);
/* oklch */ color: oklch(65.4% 0.106 247.1);
Tailwind
colors: {
  custom: {
    50: '#8fb4dd',
    500: '#5796ce',
    950: '#000000',
  },
}
SCSS
$custom: #5796ce;
$custom-light: #8fb4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5796ce",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 206
  },
  "hsl": {
    "h": 208.235,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65437,
    "c": 0.10646,
    "h": 247.1
  },
  "luminance": 0.28295
}

Semantic roles & 50–950 ramp

primary
#5796CE
secondary
#D8BFA8
accent
#904ADE
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5796CE

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

Preview Lab → · Contrast checker → · Palette generator →

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