#5798CC#5798CC

#5798CC is a light, moderate cyan. Relative luminance 0.288; OKLCH L 65.8% C 0.103 H 244.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5798CC
RGBrgb(87, 152, 204)
HSLhsl(207, 53%, 57%)
HSVhsv(207, 57%, 80%)
CMYKcmyk(57.4%, 25.5%, 0%, 20%)
CIE-LABlab(60.64, -5.55, -33.01)
CIE-LCHlch(60.64, 33.48, 260.46°)
OKLaboklab(65.79% -0.0443 -0.0926)
OKLCHoklch(65.79% 0.103 244.4)
XYZxyz(26.0538, 28.8400, 61.3087)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CC #CC8B57
analogous
#57CCC6 #5798CC #575DCC
triadic
#5798CC #CC5798 #98CC57
tetradic
#5798CC #C657CC #CC8B57 #5DCC57
square
#5798CC #C657CC #CC8B57 #5DCC57
split-complementary
#5798CC #CC575D #CCC657
monochromatic
#275981 #367AB0 #5798CC #86B5DA #B5D2E9

Accessibility & contrast

On white

3.10
#5798CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5798CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CC#FFFFFF#000000##000000
##5798CC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199CE
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#00A5AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798cc;
/* rgb */ color: rgb(87, 152, 204);
/* oklch */ color: oklch(65.8% 0.103 244.4);
Tailwind
colors: {
  custom: {
    50: '#8fb6db',
    500: '#5798cc',
    950: '#000000',
  },
}
SCSS
$custom: #5798cc;
$custom-light: #8fb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5798cc",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 206.667,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65793,
    "c": 0.10267,
    "h": 244.4
  },
  "luminance": 0.28842
}

Semantic roles & 50–950 ramp

primary
#5798CC
secondary
#D7BDA8
accent
#8C4BDD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CC

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

Preview Lab → · Contrast checker → · Palette generator →

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