#5797CF#5797CF

#5797CF is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.7% C 0.107 H 246.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5797CF
RGBrgb(87, 151, 207)
HSLhsl(208, 56%, 58%)
HSVhsv(208, 58%, 81%)
CMYKcmyk(58%, 27.1%, 0%, 18.8%)
CIE-LABlab(60.48, -4.03, -34.94)
CIE-LCHlch(60.48, 35.17, 263.42°)
OKLaboklab(65.71% -0.0423 -0.0982)
OKLCHoklch(65.71% 0.107 246.7)
XYZxyz(26.2555, 28.6621, 63.1681)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797CF #CF8F57
analogous
#57CFCB #5797CF #575BCF
triadic
#5797CF #CF5797 #97CF57
tetradic
#5797CF #CB57CF #CF8F57 #5BCF57
square
#5797CF #CB57CF #CF8F57 #5BCF57
split-complementary
#5797CF #CF575B #CFCB57
monochromatic
#265985 #3479B5 #5797CF #87B4DD #B6D2EA

Accessibility & contrast

On white

3.12
#5797CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5797CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797CF#FFFFFF#000000##000000
##5797CF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D2
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#00A4AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5797cf;
/* rgb */ color: rgb(87, 151, 207);
/* oklch */ color: oklch(65.7% 0.107 246.7);
Tailwind
colors: {
  custom: {
    50: '#8fb5de',
    500: '#5797cf',
    950: '#000000',
  },
}
SCSS
$custom: #5797cf;
$custom-light: #8fb5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5797cf",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 208,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.10688,
    "h": 246.7
  },
  "luminance": 0.28664
}

Semantic roles & 50–950 ramp

primary
#5797CF
secondary
#D9BFA9
accent
#8F49DF
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5797CF

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

Preview Lab → · Contrast checker → · Palette generator →

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