#5797BA#5797BA

#5797BA is a light, moderate cyan. Relative luminance 0.277; OKLCH L 64.7% C 0.084 H 234.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5797BA
RGBrgb(87, 151, 186)
HSLhsl(201, 42%, 54%)
HSVhsv(201, 53%, 73%)
CMYKcmyk(53.2%, 18.8%, 0%, 27.1%)
CIE-LABlab(59.62, -10.55, -24.47)
CIE-LCHlch(59.62, 26.65, 246.69°)
OKLaboklab(64.74% -0.0494 -0.0681)
OKLCHoklch(64.74% 0.084 234.1)
XYZxyz(23.8567, 27.7026, 50.5348)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797BA #BA7A57
analogous
#57BAAB #5797BA #5765BA
triadic
#5797BA #BA5797 #97BA57
tetradic
#5797BA #AB57BA #BA7A57 #65BA57
square
#5797BA #AB57BA #BA7A57 #65BA57
split-complementary
#5797BA #BA5765 #BAAB57
monochromatic
#2C556B #3E7796 #5797BA #82B2CC #AECDDE

Accessibility & contrast

On white

3.21
#5797BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5797BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797BA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797BA#FFFFFF#000000##000000
##5797BA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BC
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#16A0A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5797ba;
/* rgb */ color: rgb(87, 151, 186);
/* oklch */ color: oklch(64.7% 0.084 234.1);
Tailwind
colors: {
  custom: {
    50: '#8db5ce',
    500: '#5797ba',
    950: '#000000',
  },
}
SCSS
$custom: #5797ba;
$custom-light: #8db5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5797ba",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 201.212,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.08414,
    "h": 234.1
  },
  "luminance": 0.27705
}

Semantic roles & 50–950 ramp

primary
#5797BA
secondary
#CCB0A1
accent
#8256D2
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1113
muted
#7E8082

Preview Lab

Preview with #5797BA

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

Preview Lab → · Contrast checker → · Palette generator →

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