#5796E8#5796E8

#5796E8 is a light, vivid cyan. Relative luminance 0.297; OKLCH L 66.8% C 0.139 H 255.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5796E8
RGBrgb(87, 150, 232)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 63%, 91%)
CMYKcmyk(62.5%, 35.3%, 0%, 9%)
CIE-LABlab(61.36, 4.68, -47.47)
CIE-LCHlch(61.36, 47.70, 275.63°)
OKLaboklab(66.78% -0.0342 -0.1346)
OKLCHoklch(66.78% 0.139 255.7)
XYZxyz(29.3971, 29.6623, 80.5045)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796E8 #E8A957
analogous
#57DEE8 #5796E8 #6157E8
triadic
#5796E8 #E85796 #96E857
tetradic
#5796E8 #E857DE #E8A957 #57E861
square
#5796E8 #E857DE #E8A957 #57E861
split-complementary
#5796E8 #E86157 #DEE857
monochromatic
#1859AD #2174E1 #5796E8 #8DB8EF #C3D9F7

Accessibility & contrast

On white

3.03
#5796E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5796E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796E8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796E8#FFFFFF#000000##000000
##5796E81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5796e8;
/* rgb */ color: rgb(87, 150, 232);
/* oklch */ color: oklch(66.8% 0.139 255.7);
Tailwind
colors: {
  custom: {
    50: '#93b4f0',
    500: '#5796e8',
    950: '#000000',
  },
}
SCSS
$custom: #5796e8;
$custom-light: #93b4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5796e8",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 232
  },
  "hsl": {
    "h": 213.931,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.13888,
    "h": 255.7
  },
  "luminance": 0.29665
}

Semantic roles & 50–950 ramp

primary
#5796E8
secondary
#E8D1B3
accent
#800DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796E8

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

Preview Lab → · Contrast checker → · Palette generator →

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