#5797ED#5797ED

#5797ED is a light, vivid cyan. Relative luminance 0.303; OKLCH L 67.3% C 0.144 H 256.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5797ED
RGBrgb(87, 151, 237)
HSLhsl(214, 81%, 64%)
HSVhsv(214, 63%, 93%)
CMYKcmyk(63.3%, 36.3%, 0%, 7.1%)
CIE-LABlab(61.89, 5.76, -49.40)
CIE-LCHlch(61.89, 49.73, 276.65°)
OKLaboklab(67.27% -0.034 -0.1402)
OKLCHoklch(67.27% 0.144 256.4)
XYZxyz(30.2777, 30.2710, 84.3516)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797ED #EDAD57
analogous
#57E2ED #5797ED #6257ED
triadic
#5797ED #ED5797 #97ED57
tetradic
#5797ED #ED57E2 #EDAD57 #57ED62
square
#5797ED #ED57E2 #EDAD57 #57ED62
split-complementary
#5797ED #ED6257 #E2ED57
monochromatic
#1459B6 #2075E7 #5797ED #8EB9F3 #C6DBF9

Accessibility & contrast

On white

2.98
#5797ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5797ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797ED
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797ED#FFFFFF#000000##000000
##5797ED1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF1
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5797ed;
/* rgb */ color: rgb(87, 151, 237);
/* oklch */ color: oklch(67.3% 0.144 256.4);
Tailwind
colors: {
  custom: {
    50: '#94b5f3',
    500: '#5797ed',
    950: '#000000',
  },
}
SCSS
$custom: #5797ed;
$custom-light: #94b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5797ed",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 214.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.14429,
    "h": 256.4
  },
  "luminance": 0.30274
}

Semantic roles & 50–950 ramp

primary
#5797ED
secondary
#EAD4B5
accent
#8209DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5797ED

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

Preview Lab → · Contrast checker → · Palette generator →

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