#5796E4#5796E4

#5796E4 is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.6% C 0.134 H 254.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5796E4
RGBrgb(87, 150, 228)
HSLhsl(213, 72%, 62%)
HSVhsv(213, 62%, 89%)
CMYKcmyk(61.8%, 34.2%, 0%, 10.6%)
CIE-LABlab(61.17, 3.36, -45.56)
CIE-LCHlch(61.17, 45.69, 274.21°)
OKLaboklab(66.57% -0.0352 -0.129)
OKLCHoklch(66.57% 0.134 254.7)
XYZxyz(28.8354, 29.4377, 77.5462)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796E4 #E4A557
analogous
#57DDE4 #5796E4 #5E57E4
triadic
#5796E4 #E45796 #96E457
tetradic
#5796E4 #E457DD #E4A557 #57E45E
square
#5796E4 #E457DD #E4A557 #57E45E
split-complementary
#5796E4 #E45E57 #DDE457
monochromatic
#1B59A6 #2375DB #5796E4 #8CB7EC #C0D8F5

Accessibility & contrast

On white

3.05
#5796E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5796E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796E4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796E4#FFFFFF#000000##000000
##5796E41.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE7
Deuteranopia (green-blind)
#618EE2
Tritanopia (blue-blind)
#00A8B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5796e4;
/* rgb */ color: rgb(87, 150, 228);
/* oklch */ color: oklch(66.6% 0.134 254.7);
Tailwind
colors: {
  custom: {
    50: '#92b4ed',
    500: '#5796e4',
    950: '#000000',
  },
}
SCSS
$custom: #5796e4;
$custom-light: #92b4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5796e4",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 213.191,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.13375,
    "h": 254.7
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5796E4

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

Preview Lab → · Contrast checker → · Palette generator →

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