#5997DC#5997DC

#5997DC is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.5% C 0.122 H 252.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5997DC
RGBrgb(89, 151, 220)
HSLhsl(212, 65%, 61%)
HSVhsv(212, 60%, 86%)
CMYKcmyk(59.5%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.15, 0.54, -41.14)
CIE-LCHlch(61.15, 41.14, 270.75°)
OKLaboklab(66.45% -0.0369 -0.1161)
OKLCHoklch(66.45% 0.122 252.4)
XYZxyz(28.1001, 29.4218, 71.8944)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997DC #DC9E59
analogous
#59D8DC #5997DC #5C59DC
triadic
#5997DC #DC5997 #97DC59
tetradic
#5997DC #DC59D8 #DC9E59 #59DC5C
square
#5997DC #DC59D8 #DC9E59 #59DC5C
split-complementary
#5997DC #DC5C59 #D8DC59
monochromatic
#205A9A #2B78CD #5997DC #8CB7E7 #BED6F1

Accessibility & contrast

On white

3.05
#5997DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#5997DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5997DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997DC#FFFFFF#000000##000000
##5997DC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5997dc;
/* rgb */ color: rgb(89, 151, 220);
/* oklch */ color: oklch(66.5% 0.122 252.4);
Tailwind
colors: {
  custom: {
    50: '#92b5e7',
    500: '#5997dc',
    950: '#000000',
  },
}
SCSS
$custom: #5997dc;
$custom-light: #92b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5997dc",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 211.603,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.12181,
    "h": 252.4
  },
  "luminance": 0.29424
}

Semantic roles & 50–950 ramp

primary
#5997DC
secondary
#E1CAAF
accent
#7818CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5997DC

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

Preview Lab → · Contrast checker → · Palette generator →

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