#5797AF#5797AF

#5797AF is a light, moderate cyan. Relative luminance 0.273; OKLCH L 64.3% C 0.075 H 224.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5797AF
RGBrgb(87, 151, 175)
HSLhsl(196, 35%, 51%)
HSVhsv(196, 50%, 69%)
CMYKcmyk(50.3%, 13.7%, 0%, 31.4%)
CIE-LABlab(59.21, -13.81, -18.88)
CIE-LCHlch(59.21, 23.39, 233.82°)
OKLaboklab(64.28% -0.0535 -0.0523)
OKLCHoklch(64.28% 0.075 224.3)
XYZxyz(22.7321, 27.2527, 44.6115)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797AF #AF6F57
analogous
#57AF9B #5797AF #576BAF
triadic
#5797AF #AF5797 #97AF57
tetradic
#5797AF #9B57AF #AF6F57 #6BAF57
square
#5797AF #9B57AF #AF6F57 #6BAF57
split-complementary
#5797AF #AF576B #AF9B57
monochromatic
#2D515F #417588 #5797AF #80B1C3 #AACAD6

Accessibility & contrast

On white

3.26
#5797AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5797AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797AF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797AF#FFFFFF#000000##000000
##5797AF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A94B0
Deuteranopia (green-blind)
#7D8AAF
Tritanopia (blue-blind)
#269E9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5797af;
/* rgb */ color: rgb(87, 151, 175);
/* oklch */ color: oklch(64.3% 0.075 224.3);
Tailwind
colors: {
  custom: {
    50: '#8cb5c7',
    500: '#5797af',
    950: '#000000',
  },
}
SCSS
$custom: #5797af;
$custom-light: #8cb5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5797af",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 196.364,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.07481,
    "h": 224.3
  },
  "luminance": 0.27255
}

Semantic roles & 50–950 ramp

primary
#5797AF
secondary
#C4A89E
accent
#7B5CCC
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #5797AF

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

Preview Lab → · Contrast checker → · Palette generator →

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