#5796EA#5796EA

#5796EA is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.9% C 0.141 H 256.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5796EA
RGBrgb(87, 150, 234)
HSLhsl(214, 78%, 63%)
HSVhsv(214, 63%, 92%)
CMYKcmyk(62.8%, 35.9%, 0%, 8.2%)
CIE-LABlab(61.46, 5.34, -48.42)
CIE-LCHlch(61.46, 48.71, 276.30°)
OKLaboklab(66.89% -0.0337 -0.1374)
OKLCHoklch(66.89% 0.141 256.2)
XYZxyz(29.6828, 29.7766, 82.0091)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796EA #EAAB57
analogous
#57DFEA #5796EA #6157EA
triadic
#5796EA #EA5796 #96EA57
tetradic
#5796EA #EA57DF #EAAB57 #57EA61
square
#5796EA #EA57DF #EAAB57 #57EA61
split-complementary
#5796EA #EA6157 #DFEA57
monochromatic
#1658B1 #2174E3 #5796EA #8DB8F1 #C4DAF8

Accessibility & contrast

On white

3.02
#5796EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5796EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796EA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796EA#FFFFFF#000000##000000
##5796EA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CED
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5796ea;
/* rgb */ color: rgb(87, 150, 234);
/* oklch */ color: oklch(66.9% 0.141 256.2);
Tailwind
colors: {
  custom: {
    50: '#93b4f1',
    500: '#5796ea',
    950: '#000000',
  },
}
SCSS
$custom: #5796ea;
$custom-light: #93b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5796ea",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 214.286,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66891,
    "c": 0.14145,
    "h": 256.2
  },
  "luminance": 0.29779
}

Semantic roles & 50–950 ramp

primary
#5796EA
secondary
#E9D2B4
accent
#820BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5796EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5796EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva