#5798CE#5798CE

#5798CE is a light, moderate cyan. Relative luminance 0.289; OKLCH L 65.9% C 0.105 H 245.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5798CE
RGBrgb(87, 152, 206)
HSLhsl(207, 55%, 57%)
HSVhsv(207, 58%, 81%)
CMYKcmyk(57.8%, 26.2%, 0%, 19.2%)
CIE-LABlab(60.73, -4.92, -34.00)
CIE-LCHlch(60.73, 34.35, 261.77°)
OKLaboklab(65.89% -0.0437 -0.0954)
OKLCHoklch(65.89% 0.105 245.4)
XYZxyz(26.2952, 28.9366, 62.5802)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CE #CE8D57
analogous
#57CEC9 #5798CE #575CCE
triadic
#5798CE #CE5798 #98CE57
tetradic
#5798CE #C957CE #CE8D57 #5CCE57
square
#5798CE #C957CE #CE8D57 #5CCE57
split-complementary
#5798CE #CE575C #CEC957
monochromatic
#275A84 #347AB3 #5798CE #86B5DC #B6D2EA

Accessibility & contrast

On white

3.09
#5798CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5798CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CE#FFFFFF#000000##000000
##5798CE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D0
Deuteranopia (green-blind)
#718DCD
Tritanopia (blue-blind)
#00A5AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798ce;
/* rgb */ color: rgb(87, 152, 206);
/* oklch */ color: oklch(65.9% 0.105 245.4);
Tailwind
colors: {
  custom: {
    50: '#8fb6dd',
    500: '#5798ce',
    950: '#000000',
  },
}
SCSS
$custom: #5798ce;
$custom-light: #8fb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ce",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 207.227,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65888,
    "c": 0.10497,
    "h": 245.4
  },
  "luminance": 0.28939
}

Semantic roles & 50–950 ramp

primary
#5798CE
secondary
#D8BEA8
accent
#8D4ADE
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CE

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

Preview Lab → · Contrast checker → · Palette generator →

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