#5796ED#5796ED

#5796ED is a light, vivid cyan. Relative luminance 0.300; OKLCH L 67.1% C 0.145 H 256.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5796ED
RGBrgb(87, 150, 237)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(63.3%, 36.7%, 0%, 7.1%)
CIE-LABlab(61.61, 6.34, -49.83)
CIE-LCHlch(61.61, 50.24, 277.25°)
OKLaboklab(67.06% -0.033 -0.1415)
OKLCHoklch(67.06% 0.145 256.9)
XYZxyz(30.1174, 29.9505, 84.2982)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796ED #EDAE57
analogous
#57E1ED #5796ED #6357ED
triadic
#5796ED #ED5796 #96ED57
tetradic
#5796ED #ED57E1 #EDAE57 #57ED63
square
#5796ED #ED57E1 #EDAE57 #57ED63
split-complementary
#5796ED #ED6357 #E1ED57
monochromatic
#1458B6 #2073E7 #5796ED #8EB9F3 #C6DBF9

Accessibility & contrast

On white

3.00
#5796ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5796ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796ED
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796ED#FFFFFF#000000##000000
##5796ED1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF1
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5796ed;
/* rgb */ color: rgb(87, 150, 237);
/* oklch */ color: oklch(67.1% 0.145 256.9);
Tailwind
colors: {
  custom: {
    50: '#94b4f3',
    500: '#5796ed',
    950: '#000000',
  },
}
SCSS
$custom: #5796ed;
$custom-light: #94b4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5796ed",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 214.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.1453,
    "h": 256.9
  },
  "luminance": 0.29953
}

Semantic roles & 50–950 ramp

primary
#5796ED
secondary
#EAD4B5
accent
#8409DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5796ED

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

Preview Lab → · Contrast checker → · Palette generator →

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