#5798C8#5798C8

#5798C8 is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.6% C 0.098 H 242.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5798C8
RGBrgb(87, 152, 200)
HSLhsl(205, 51%, 56%)
HSVhsv(205, 57%, 78%)
CMYKcmyk(56.5%, 24%, 0%, 21.6%)
CIE-LABlab(60.47, -6.80, -31.03)
CIE-LCHlch(60.47, 31.77, 257.64°)
OKLaboklab(65.61% -0.0457 -0.0869)
OKLCHoklch(65.61% 0.098 242.3)
XYZxyz(25.5802, 28.6506, 58.8145)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798C8 #C88757
analogous
#57C8C0 #5798C8 #5760C8
triadic
#5798C8 #C85798 #98C857
tetradic
#5798C8 #C057C8 #C88757 #60C857
square
#5798C8 #C057C8 #C88757 #60C857
split-complementary
#5798C8 #C85760 #C8C057
monochromatic
#29597C #387AAA #5798C8 #85B4D7 #B3D1E6

Accessibility & contrast

On white

3.12
#5798C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5798C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798C8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798C8#FFFFFF#000000##000000
##5798C81.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)
#8398CA
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#00A4A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798c8;
/* rgb */ color: rgb(87, 152, 200);
/* oklch */ color: oklch(65.6% 0.098 242.3);
Tailwind
colors: {
  custom: {
    50: '#8fb6d9',
    500: '#5798c8',
    950: '#000000',
  },
}
SCSS
$custom: #5798c8;
$custom-light: #8fb6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5798c8",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 200
  },
  "hsl": {
    "h": 205.487,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65605,
    "c": 0.09816,
    "h": 242.3
  },
  "luminance": 0.28653
}

Semantic roles & 50–950 ramp

primary
#5798C8
secondary
#D5BAA6
accent
#894EDA
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5798C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5798C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva