#5797E9#5797E9

#5797E9 is a light, vivid cyan. Relative luminance 0.300; OKLCH L 67.1% C 0.139 H 255.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5797E9
RGBrgb(87, 151, 233)
HSLhsl(214, 77%, 63%)
HSVhsv(214, 63%, 91%)
CMYKcmyk(62.7%, 35.2%, 0%, 8.6%)
CIE-LABlab(61.69, 4.43, -47.50)
CIE-LCHlch(61.69, 47.71, 275.33°)
OKLaboklab(67.05% -0.035 -0.1347)
OKLCHoklch(67.05% 0.139 255.4)
XYZxyz(29.6998, 30.0398, 81.3081)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797E9 #E9A957
analogous
#57E0E9 #5797E9 #6057E9
triadic
#5797E9 #E95797 #97E957
tetradic
#5797E9 #E957E0 #E9A957 #57E960
square
#5797E9 #E957E0 #E9A957 #57E960
split-complementary
#5797E9 #E96057 #E0E957
monochromatic
#1759AF #2175E2 #5797E9 #8DB8F0 #C3DAF7

Accessibility & contrast

On white

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

On black

7.01
#5797E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797E9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797E9#FFFFFF#000000##000000
##5797E91.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEC
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5797e9;
/* rgb */ color: rgb(87, 151, 233);
/* oklch */ color: oklch(67.1% 0.139 255.4);
Tailwind
colors: {
  custom: {
    50: '#93b5f0',
    500: '#5797e9',
    950: '#000000',
  },
}
SCSS
$custom: #5797e9;
$custom-light: #93b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5797e9",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 233
  },
  "hsl": {
    "h": 213.699,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.13916,
    "h": 255.4
  },
  "luminance": 0.30043
}

Semantic roles & 50–950 ramp

primary
#5797E9
secondary
#E8D1B3
accent
#7F0CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797E9

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

Preview Lab → · Contrast checker → · Palette generator →

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