#5797BF#5797BF

#5797BF is a light, moderate cyan. Relative luminance 0.279; OKLCH L 65.0% C 0.089 H 237.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5797BF
RGBrgb(87, 151, 191)
HSLhsl(203, 45%, 55%)
HSVhsv(203, 54%, 75%)
CMYKcmyk(54.5%, 20.9%, 0%, 25.1%)
CIE-LABlab(59.82, -9.03, -26.99)
CIE-LCHlch(59.82, 28.46, 251.51°)
OKLaboklab(64.96% -0.0476 -0.0753)
OKLCHoklch(64.96% 0.089 237.7)
XYZxyz(24.3976, 27.9190, 53.3833)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797BF #BF7F57
analogous
#57BFB3 #5797BF #5763BF
triadic
#5797BF #BF5797 #97BF57
tetradic
#5797BF #B357BF #BF7F57 #63BF57
square
#5797BF #B357BF #BF7F57 #63BF57
split-complementary
#5797BF #BF5763 #BFB357
monochromatic
#2B5671 #3C789D #5797BF #83B2D0 #B0CEE1

Accessibility & contrast

On white

3.19
#5797BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5797BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797BF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797BF#FFFFFF#000000##000000
##5797BF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596C1
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#09A1A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5797bf;
/* rgb */ color: rgb(87, 151, 191);
/* oklch */ color: oklch(65.0% 0.089 237.7);
Tailwind
colors: {
  custom: {
    50: '#8eb5d2',
    500: '#5797bf',
    950: '#000000',
  },
}
SCSS
$custom: #5797bf;
$custom-light: #8eb5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5797bf",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 203.077,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.08908,
    "h": 237.7
  },
  "luminance": 0.27921
}

Semantic roles & 50–950 ramp

primary
#5797BF
secondary
#CFB4A3
accent
#8553D5
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5797BF

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

Preview Lab → · Contrast checker → · Palette generator →

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