#5997EC#5997EC

#5997EC is a light, vivid cyan. Relative luminance 0.303; OKLCH L 67.3% C 0.142 H 256.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5997EC
RGBrgb(89, 151, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(62.3%, 36%, 0%, 7.5%)
CIE-LABlab(61.92, 5.78, -48.79)
CIE-LCHlch(61.92, 49.13, 276.75°)
OKLaboklab(67.31% -0.0327 -0.1384)
OKLCHoklch(67.31% 0.142 256.7)
XYZxyz(30.3213, 30.3103, 83.5932)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997EC #ECAE59
analogous
#59E0EC #5997EC #6459EC
triadic
#5997EC #EC5997 #97EC59
tetradic
#5997EC #EC59E0 #ECAE59 #59EC64
square
#5997EC #EC59E0 #ECAE59 #59EC64
split-complementary
#5997EC #EC6459 #E0EC59
monochromatic
#1559B6 #2275E6 #5997EC #90B9F2 #C7DCF9

Accessibility & contrast

On white

2.97
#5997EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5997EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997EC#FFFFFF#000000##000000
##5997EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997ec;
/* rgb */ color: rgb(89, 151, 236);
/* oklch */ color: oklch(67.3% 0.142 256.7);
Tailwind
colors: {
  custom: {
    50: '#94b5f2',
    500: '#5997ec',
    950: '#000000',
  },
}
SCSS
$custom: #5997ec;
$custom-light: #94b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5997ec",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 214.694,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.14222,
    "h": 256.7
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#5997EC
secondary
#EAD4B6
accent
#830ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997EC

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

Preview Lab → · Contrast checker → · Palette generator →

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