#5797E4#5797E4

#5797E4 is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.8% C 0.133 H 254.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5797E4
RGBrgb(87, 151, 228)
HSLhsl(213, 72%, 62%)
HSVhsv(213, 62%, 89%)
CMYKcmyk(61.8%, 33.8%, 0%, 10.6%)
CIE-LABlab(61.45, 2.78, -45.12)
CIE-LCHlch(61.45, 45.21, 273.52°)
OKLaboklab(66.78% -0.0363 -0.1277)
OKLCHoklch(66.78% 0.133 254.1)
XYZxyz(28.9956, 29.7582, 77.5996)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797E4 #E4A457
analogous
#57DEE4 #5797E4 #5E57E4
triadic
#5797E4 #E45797 #97E457
tetradic
#5797E4 #E457DE #E4A457 #57E45E
square
#5797E4 #E457DE #E4A457 #57E45E
split-complementary
#5797E4 #E45E57 #DEE457
monochromatic
#1B5AA6 #2376DB #5797E4 #8CB8EC #C0D8F5

Accessibility & contrast

On white

3.02
#5797E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#5797E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5797E4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797E4#FFFFFF#000000##000000
##5797E41.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE7
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5797e4;
/* rgb */ color: rgb(87, 151, 228);
/* oklch */ color: oklch(66.8% 0.133 254.1);
Tailwind
colors: {
  custom: {
    50: '#92b5ed',
    500: '#5797e4',
    950: '#000000',
  },
}
SCSS
$custom: #5797e4;
$custom-light: #92b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5797e4",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 212.766,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.13278,
    "h": 254.1
  },
  "luminance": 0.29761
}

Semantic roles & 50–950 ramp

primary
#5797E4
secondary
#E6CEB1
accent
#7C11D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5797E4

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

Preview Lab → · Contrast checker → · Palette generator →

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