#5796EB#5796EB

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

Color values

HEX#5796EB
RGBrgb(87, 150, 235)
HSLhsl(214, 79%, 63%)
HSVhsv(214, 63%, 92%)
CMYKcmyk(63%, 36.2%, 0%, 7.8%)
CIE-LABlab(61.51, 5.68, -48.89)
CIE-LCHlch(61.51, 49.22, 276.62°)
OKLaboklab(66.95% -0.0335 -0.1387)
OKLCHoklch(66.95% 0.143 256.4)
XYZxyz(29.8268, 29.8342, 82.7679)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796EB #EBAC57
analogous
#57E0EB #5796EB #6257EB
triadic
#5796EB #EB5796 #96EB57
tetradic
#5796EB #EB57E0 #EBAC57 #57EB62
square
#5796EB #EB57E0 #EBAC57 #57EB62
split-complementary
#5796EB #EB6257 #E0EB57
monochromatic
#1558B2 #2074E4 #5796EB #8EB8F2 #C4DAF8

Accessibility & contrast

On white

3.01
#5796EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5796EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796EB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796EB#FFFFFF#000000##000000
##5796EB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5796eb;
/* rgb */ color: rgb(87, 150, 235);
/* oklch */ color: oklch(66.9% 0.143 256.4);
Tailwind
colors: {
  custom: {
    50: '#93b4f2',
    500: '#5796eb',
    950: '#000000',
  },
}
SCSS
$custom: #5796eb;
$custom-light: #93b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5796eb",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 214.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66947,
    "c": 0.14273,
    "h": 256.4
  },
  "luminance": 0.29837
}

Semantic roles & 50–950 ramp

primary
#5796EB
secondary
#E9D3B4
accent
#820ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5796EB

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

Preview Lab → · Contrast checker → · Palette generator →

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