#5796C8#5796C8

#5796C8 is a light, moderate cyan. Relative luminance 0.280; OKLCH L 65.1% C 0.099 H 244.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5796C8
RGBrgb(87, 150, 200)
HSLhsl(207, 51%, 56%)
HSVhsv(207, 57%, 78%)
CMYKcmyk(56.5%, 25%, 0%, 21.6%)
CIE-LABlab(59.90, -5.67, -31.93)
CIE-LCHlch(59.90, 32.43, 259.92°)
OKLaboklab(65.15% -0.0434 -0.0895)
OKLCHoklch(65.15% 0.099 244.1)
XYZxyz(25.2584, 28.0069, 58.7072)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796C8 #C88957
analogous
#57C8C2 #5796C8 #575EC8
triadic
#5796C8 #C85796 #96C857
tetradic
#5796C8 #C257C8 #C88957 #5EC857
square
#5796C8 #C257C8 #C88957 #5EC857
split-complementary
#5796C8 #C8575E #C8C257
monochromatic
#29577C #3877AA #5796C8 #85B3D7 #B3D0E6

Accessibility & contrast

On white

3.18
#5796C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5796C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796C8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796C8#FFFFFF#000000##000000
##5796C81.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CA
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#00A2A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5796c8;
/* rgb */ color: rgb(87, 150, 200);
/* oklch */ color: oklch(65.1% 0.099 244.1);
Tailwind
colors: {
  custom: {
    50: '#8fb4d9',
    500: '#5796c8',
    950: '#000000',
  },
}
SCSS
$custom: #5796c8;
$custom-light: #8fb4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5796c8",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 200
  },
  "hsl": {
    "h": 206.549,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.09945,
    "h": 244.1
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#5796C8
secondary
#D5BBA6
accent
#8C4EDA
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5796C8

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

Preview Lab → · Contrast checker → · Palette generator →

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