#5797EF#5797EF

#5797EF is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.4% C 0.147 H 256.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5797EF
RGBrgb(87, 151, 239)
HSLhsl(215, 83%, 64%)
HSVhsv(215, 64%, 94%)
CMYKcmyk(63.6%, 36.8%, 0%, 6.3%)
CIE-LABlab(61.99, 6.43, -50.34)
CIE-LCHlch(61.99, 50.75, 277.27°)
OKLaboklab(67.38% -0.0336 -0.143)
OKLCHoklch(67.38% 0.147 256.8)
XYZxyz(30.5715, 30.3885, 85.8991)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797EF #EFAF57
analogous
#57E3EF #5797EF #6357EF
triadic
#5797EF #EF5797 #97EF57
tetradic
#5797EF #EF57E3 #EFAF57 #57EF63
square
#5797EF #EF57E3 #EFAF57 #57EF63
split-complementary
#5797EF #EF6357 #E3EF57
monochromatic
#1259BA #1F74EA #5797EF #8FBAF4 #C7DCFA

Accessibility & contrast

On white

2.97
#5797EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5797EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797EF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797EF#FFFFFF#000000##000000
##5797EF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5797ef;
/* rgb */ color: rgb(87, 151, 239);
/* oklch */ color: oklch(67.4% 0.147 256.8);
Tailwind
colors: {
  custom: {
    50: '#94b5f4',
    500: '#5797ef',
    950: '#000000',
  },
}
SCSS
$custom: #5797ef;
$custom-light: #94b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5797ef",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 214.737,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.14686,
    "h": 256.8
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

primary
#5797EF
secondary
#ECD5B6
accent
#8406DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5797EF

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

Preview Lab → · Contrast checker → · Palette generator →

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