#5798DD#5798DD

#5798DD is a light, vivid cyan. Relative luminance 0.297; OKLCH L 66.6% C 0.123 H 251.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5798DD
RGBrgb(87, 152, 221)
HSLhsl(211, 66%, 60%)
HSVhsv(211, 61%, 87%)
CMYKcmyk(60.6%, 31.2%, 0%, 13.3%)
CIE-LABlab(61.40, -0.10, -41.32)
CIE-LCHlch(61.40, 41.32, 269.87°)
OKLaboklab(66.64% -0.0392 -0.1166)
OKLCHoklch(66.64% 0.123 251.4)
XYZxyz(28.2051, 29.7006, 72.6390)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798DD #DD9C57
analogous
#57DBDD #5798DD #5957DD
triadic
#5798DD #DD5798 #98DD57
tetradic
#5798DD #DD57DB #DD9C57 #57DD59
square
#5798DD #DD57DB #DD9C57 #57DD59
split-complementary
#5798DD #DD5957 #DBDD57
monochromatic
#1F5B9A #2A79CD #5798DD #8AB7E7 #BDD6F2

Accessibility & contrast

On white

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

On black

6.94
#5798DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798DD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798DD#FFFFFF#000000##000000
##5798DD1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BE0
Deuteranopia (green-blind)
#698EDC
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5798dd;
/* rgb */ color: rgb(87, 152, 221);
/* oklch */ color: oklch(66.6% 0.123 251.4);
Tailwind
colors: {
  custom: {
    50: '#91b6e8',
    500: '#5798dd',
    950: '#000000',
  },
}
SCSS
$custom: #5798dd;
$custom-light: #91b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5798dd",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 210.896,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66635,
    "c": 0.12305,
    "h": 251.4
  },
  "luminance": 0.29703
}

Semantic roles & 50–950 ramp

primary
#5798DD
secondary
#E1C9AE
accent
#7517CE
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798DD

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

Preview Lab → · Contrast checker → · Palette generator →

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