#5798DC#5798DC

#5798DC is a light, vivid cyan. Relative luminance 0.296; OKLCH L 66.6% C 0.122 H 251.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5798DC
RGBrgb(87, 152, 220)
HSLhsl(211, 66%, 60%)
HSVhsv(211, 60%, 86%)
CMYKcmyk(60.5%, 30.9%, 0%, 13.7%)
CIE-LABlab(61.35, -0.42, -40.83)
CIE-LCHlch(61.35, 40.84, 269.41°)
OKLaboklab(66.58% -0.0395 -0.1152)
OKLCHoklch(66.58% 0.122 251.1)
XYZxyz(28.0723, 29.6474, 71.9394)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798DC #DC9B57
analogous
#57DADC #5798DC #5957DC
triadic
#5798DC #DC5798 #98DC57
tetradic
#5798DC #DC57DA #DC9B57 #57DC59
square
#5798DC #DC57DA #DC9B57 #57DC59
split-complementary
#5798DC #DC5957 #DADC57
monochromatic
#205B99 #2A79CB #5798DC #8AB7E7 #BCD6F1

Accessibility & contrast

On white

3.03
#5798DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5798DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798DC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798DC#FFFFFF#000000##000000
##5798DC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#00A8B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5798dc;
/* rgb */ color: rgb(87, 152, 220);
/* oklch */ color: oklch(66.6% 0.122 251.1);
Tailwind
colors: {
  custom: {
    50: '#91b6e7',
    500: '#5798dc',
    950: '#000000',
  },
}
SCSS
$custom: #5798dc;
$custom-light: #91b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5798dc",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 210.677,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.12182,
    "h": 251.1
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#5798DC
secondary
#E1C8AE
accent
#7518CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798DC

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

Preview Lab → · Contrast checker → · Palette generator →

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