#5796CC#5796CC

#5796CC is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.3% C 0.104 H 246.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5796CC
RGBrgb(87, 150, 204)
HSLhsl(208, 53%, 57%)
HSVhsv(208, 57%, 80%)
CMYKcmyk(57.4%, 26.5%, 0%, 20%)
CIE-LABlab(60.07, -4.41, -33.91)
CIE-LCHlch(60.07, 34.19, 262.58°)
OKLaboklab(65.34% -0.0421 -0.0952)
OKLCHoklch(65.34% 0.104 246.1)
XYZxyz(25.7319, 28.1963, 61.2014)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796CC #CC8D57
analogous
#57CCC7 #5796CC #575CCC
triadic
#5796CC #CC5796 #96CC57
tetradic
#5796CC #C757CC #CC8D57 #5CCC57
square
#5796CC #C757CC #CC8D57 #5CCC57
split-complementary
#5796CC #CC575C #CCC757
monochromatic
#275881 #3678B0 #5796CC #86B3DA #B5D1E9

Accessibility & contrast

On white

3.16
#5796CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5796CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796CC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796CC#FFFFFF#000000##000000
##5796CC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5796cc;
/* rgb */ color: rgb(87, 150, 204);
/* oklch */ color: oklch(65.3% 0.104 246.1);
Tailwind
colors: {
  custom: {
    50: '#8fb4db',
    500: '#5796cc',
    950: '#000000',
  },
}
SCSS
$custom: #5796cc;
$custom-light: #8fb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#5796cc",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 207.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6534,
    "c": 0.10409,
    "h": 246.1
  },
  "luminance": 0.28199
}

Semantic roles & 50–950 ramp

primary
#5796CC
secondary
#D7BEA8
accent
#8E4BDD
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5796CC

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

Preview Lab → · Contrast checker → · Palette generator →

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