#5797BD#5797BD

#5797BD is a light, moderate cyan. Relative luminance 0.278; OKLCH L 64.9% C 0.087 H 236.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5797BD
RGBrgb(87, 151, 189)
HSLhsl(202, 44%, 54%)
HSVhsv(202, 54%, 74%)
CMYKcmyk(54%, 20.1%, 0%, 25.9%)
CIE-LABlab(59.74, -9.64, -25.98)
CIE-LCHlch(59.74, 27.71, 249.65°)
OKLaboklab(64.88% -0.0483 -0.0724)
OKLCHoklch(64.88% 0.087 236.3)
XYZxyz(24.1790, 27.8315, 52.2321)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797BD #BD7D57
analogous
#57BDB0 #5797BD #5764BD
triadic
#5797BD #BD5797 #97BD57
tetradic
#5797BD #B057BD #BD7D57 #64BD57
square
#5797BD #B057BD #BD7D57 #64BD57
split-complementary
#5797BD #BD5764 #BDB057
monochromatic
#2B556E #3D779A #5797BD #83B2CE #AFCDE0

Accessibility & contrast

On white

3.20
#5797BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5797BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797BD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797BD#FFFFFF#000000##000000
##5797BD1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596BF
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#0FA1A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5797bd;
/* rgb */ color: rgb(87, 151, 189);
/* oklch */ color: oklch(64.9% 0.087 236.3);
Tailwind
colors: {
  custom: {
    50: '#8db5d1',
    500: '#5797bd',
    950: '#000000',
  },
}
SCSS
$custom: #5797bd;
$custom-light: #8db5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5797bd",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 202.353,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.64875,
    "c": 0.08706,
    "h": 236.3
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#5797BD
secondary
#CEB2A2
accent
#8454D3
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5797BD

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

Preview Lab → · Contrast checker → · Palette generator →

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