#5797E8#5797E8

#5797E8 is a light, vivid cyan. Relative luminance 0.300; OKLCH L 67.0% C 0.138 H 255.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5797E8
RGBrgb(87, 151, 232)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 63%, 91%)
CMYKcmyk(62.5%, 34.9%, 0%, 9%)
CIE-LABlab(61.64, 4.10, -47.03)
CIE-LCHlch(61.64, 47.21, 274.98°)
OKLaboklab(67% -0.0352 -0.1333)
OKLCHoklch(67% 0.138 255.2)
XYZxyz(29.5573, 29.9828, 80.5579)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797E8 #E8A857
analogous
#57E0E8 #5797E8 #5F57E8
triadic
#5797E8 #E85797 #97E857
tetradic
#5797E8 #E857E0 #E8A857 #57E85F
square
#5797E8 #E857E0 #E8A857 #57E85F
split-complementary
#5797E8 #E85F57 #E0E857
monochromatic
#185AAD #2176E1 #5797E8 #8DB8EF #C3DAF7

Accessibility & contrast

On white

3.00
#5797E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5797E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797E8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797E8#FFFFFF#000000##000000
##5797E81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#608FE6
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5797e8;
/* rgb */ color: rgb(87, 151, 232);
/* oklch */ color: oklch(67.0% 0.138 255.2);
Tailwind
colors: {
  custom: {
    50: '#93b5ef',
    500: '#5797e8',
    950: '#000000',
  },
}
SCSS
$custom: #5797e8;
$custom-light: #93b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5797e8",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 213.517,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66998,
    "c": 0.13787,
    "h": 255.2
  },
  "luminance": 0.29986
}

Semantic roles & 50–950 ramp

primary
#5797E8
secondary
#E8D0B3
accent
#7F0DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5797E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva