#5797EB#5797EB

#5797EB is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.2% C 0.142 H 255.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5797EB
RGBrgb(87, 151, 235)
HSLhsl(214, 79%, 63%)
HSVhsv(214, 63%, 92%)
CMYKcmyk(63%, 35.7%, 0%, 7.8%)
CIE-LABlab(61.79, 5.09, -48.45)
CIE-LCHlch(61.79, 48.72, 276.00°)
OKLaboklab(67.16% -0.0345 -0.1374)
OKLCHoklch(67.16% 0.142 255.9)
XYZxyz(29.9871, 30.1548, 82.8213)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797EB #EBAB57
analogous
#57E1EB #5797EB #6157EB
triadic
#5797EB #EB5797 #97EB57
tetradic
#5797EB #EB57E1 #EBAB57 #57EB61
square
#5797EB #EB57E1 #EBAB57 #57EB61
split-complementary
#5797EB #EB6157 #E1EB57
monochromatic
#1559B2 #2075E4 #5797EB #8EB9F2 #C4DBF8

Accessibility & contrast

On white

2.99
#5797EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5797EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797EB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797EB#FFFFFF#000000##000000
##5797EB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5797eb;
/* rgb */ color: rgb(87, 151, 235);
/* oklch */ color: oklch(67.2% 0.142 255.9);
Tailwind
colors: {
  custom: {
    50: '#93b5f2',
    500: '#5797eb',
    950: '#000000',
  },
}
SCSS
$custom: #5797eb;
$custom-light: #93b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5797eb",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 214.054,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67162,
    "c": 0.14172,
    "h": 255.9
  },
  "luminance": 0.30158
}

Semantic roles & 50–950 ramp

primary
#5797EB
secondary
#E9D2B4
accent
#810ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5797EB

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

Preview Lab → · Contrast checker → · Palette generator →

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