#5798CD#5798CD

#5798CD is a light, moderate cyan. Relative luminance 0.289; OKLCH L 65.8% C 0.104 H 244.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5798CD
RGBrgb(87, 152, 205)
HSLhsl(207, 54%, 57%)
HSVhsv(207, 58%, 80%)
CMYKcmyk(57.6%, 25.9%, 0%, 19.6%)
CIE-LABlab(60.68, -5.23, -33.51)
CIE-LCHlch(60.68, 33.91, 261.13°)
OKLaboklab(65.84% -0.044 -0.094)
OKLCHoklch(65.84% 0.104 244.9)
XYZxyz(26.1741, 28.8882, 61.9424)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CD #CD8C57
analogous
#57CDC7 #5798CD #575DCD
triadic
#5798CD #CD5798 #98CD57
tetradic
#5798CD #C757CD #CD8C57 #5DCD57
square
#5798CD #C757CD #CD8C57 #5DCD57
split-complementary
#5798CD #CD575D #CDC757
monochromatic
#275983 #357AB2 #5798CD #86B5DB #B5D2E9

Accessibility & contrast

On white

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

On black

6.78
#5798CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CD#FFFFFF#000000##000000
##5798CD1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199CF
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#00A5AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798cd;
/* rgb */ color: rgb(87, 152, 205);
/* oklch */ color: oklch(65.8% 0.104 244.9);
Tailwind
colors: {
  custom: {
    50: '#8fb6dc',
    500: '#5798cd',
    950: '#000000',
  },
}
SCSS
$custom: #5798cd;
$custom-light: #8fb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5798cd",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 206.949,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.10381,
    "h": 244.9
  },
  "luminance": 0.2889
}

Semantic roles & 50–950 ramp

primary
#5798CD
secondary
#D8BDA8
accent
#8C4ADD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CD

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

Preview Lab → · Contrast checker → · Palette generator →

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