#5796AF#5796AF

#5796AF is a light, moderate cyan. Relative luminance 0.269; OKLCH L 64.0% C 0.075 H 225.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5796AF
RGBrgb(87, 150, 175)
HSLhsl(197, 35%, 51%)
HSVhsv(197, 50%, 69%)
CMYKcmyk(50.3%, 14.3%, 0%, 31.4%)
CIE-LABlab(58.91, -13.26, -19.33)
CIE-LCHlch(58.91, 23.44, 235.54°)
OKLaboklab(64.04% -0.0523 -0.0535)
OKLCHoklch(64.04% 0.075 225.7)
XYZxyz(22.5718, 26.9322, 44.5581)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796AF #AF7057
analogous
#57AF9C #5796AF #576AAF
triadic
#5796AF #AF5796 #96AF57
tetradic
#5796AF #9C57AF #AF7057 #6AAF57
square
#5796AF #9C57AF #AF7057 #6AAF57
split-complementary
#5796AF #AF576A #AF9C57
monochromatic
#2D505F #417488 #5796AF #80B0C3 #AACAD6

Accessibility & contrast

On white

3.29
#5796AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5796AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796AF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796AF#FFFFFF#000000##000000
##5796AF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8893B0
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#269E9E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5796af;
/* rgb */ color: rgb(87, 150, 175);
/* oklch */ color: oklch(64.0% 0.075 225.7);
Tailwind
colors: {
  custom: {
    50: '#8cb5c7',
    500: '#5796af',
    950: '#000000',
  },
}
SCSS
$custom: #5796af;
$custom-light: #8cb5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5796af",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 175
  },
  "hsl": {
    "h": 197.045,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.64044,
    "c": 0.07487,
    "h": 225.7
  },
  "luminance": 0.26934
}

Semantic roles & 50–950 ramp

primary
#5796AF
secondary
#C4A99E
accent
#7C5CCC
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #5796AF

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

Preview Lab → · Contrast checker → · Palette generator →

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