#5796D7#5796D7

#5796D7 is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.9% C 0.117 H 250.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5796D7
RGBrgb(87, 150, 215)
HSLhsl(210, 62%, 59%)
HSVhsv(210, 60%, 84%)
CMYKcmyk(59.5%, 30.2%, 0%, 15.7%)
CIE-LABlab(60.55, -0.89, -39.30)
CIE-LCHlch(60.55, 39.31, 268.70°)
OKLaboklab(65.88% -0.0388 -0.1108)
OKLCHoklch(65.88% 0.117 250.7)
XYZxyz(27.0981, 28.7428, 68.3967)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796D7 #D79857
analogous
#57D6D7 #5796D7 #5857D7
triadic
#5796D7 #D75796 #96D757
tetradic
#5796D7 #D757D6 #D79857 #57D758
square
#5796D7 #D757D6 #D79857 #57D758
split-complementary
#5796D7 #D75857 #D6D757
monochromatic
#235991 #2E77C2 #5796D7 #88B5E3 #BAD4EF

Accessibility & contrast

On white

3.11
#5796D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5796D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796D7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796D7#FFFFFF#000000##000000
##5796D71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A99DA
Deuteranopia (green-blind)
#698CD6
Tritanopia (blue-blind)
#00A5AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5796d7;
/* rgb */ color: rgb(87, 150, 215);
/* oklch */ color: oklch(65.9% 0.117 250.7);
Tailwind
colors: {
  custom: {
    50: '#90b4e3',
    500: '#5796d7',
    950: '#000000',
  },
}
SCSS
$custom: #5796d7;
$custom-light: #90b4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5796d7",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 215
  },
  "hsl": {
    "h": 210.469,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.11738,
    "h": 250.7
  },
  "luminance": 0.28745
}

Semantic roles & 50–950 ramp

primary
#5796D7
secondary
#DEC5AC
accent
#9543E5
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0E1115
muted
#7E8083

Preview Lab

Preview with #5796D7

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

Preview Lab → · Contrast checker → · Palette generator →

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