#5796E9#5796E9

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

Color values

HEX#5796E9
RGBrgb(87, 150, 233)
HSLhsl(214, 77%, 63%)
HSVhsv(214, 63%, 91%)
CMYKcmyk(62.7%, 35.6%, 0%, 8.6%)
CIE-LABlab(61.41, 5.01, -47.94)
CIE-LCHlch(61.41, 48.20, 275.97°)
OKLaboklab(66.84% -0.034 -0.136)
OKLCHoklch(66.84% 0.14 256)
XYZxyz(29.5395, 29.7193, 81.2547)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796E9 #E9AA57
analogous
#57DFE9 #5796E9 #6157E9
triadic
#5796E9 #E95796 #96E957
tetradic
#5796E9 #E957DF #E9AA57 #57E961
square
#5796E9 #E957DF #E9AA57 #57E961
split-complementary
#5796E9 #E96157 #DFE957
monochromatic
#1758AF #2174E2 #5796E9 #8DB8F0 #C3DAF7

Accessibility & contrast

On white

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

On black

6.94
#5796E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796E9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796E9#FFFFFF#000000##000000
##5796E91.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEC
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5796e9;
/* rgb */ color: rgb(87, 150, 233);
/* oklch */ color: oklch(66.8% 0.140 256.0);
Tailwind
colors: {
  custom: {
    50: '#93b4f0',
    500: '#5796e9',
    950: '#000000',
  },
}
SCSS
$custom: #5796e9;
$custom-light: #93b4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5796e9",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 233
  },
  "hsl": {
    "h": 214.11,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66836,
    "c": 0.14015,
    "h": 256
  },
  "luminance": 0.29722
}

Semantic roles & 50–950 ramp

primary
#5796E9
secondary
#E8D2B3
accent
#810CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5796E9

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

Preview Lab → · Contrast checker → · Palette generator →

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