#5796CB#5796CB

#5796CB is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.3% C 0.103 H 245.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5796CB
RGBrgb(87, 150, 203)
HSLhsl(207, 53%, 57%)
HSVhsv(207, 57%, 80%)
CMYKcmyk(57.1%, 26.1%, 0%, 20.4%)
CIE-LABlab(60.02, -4.73, -33.41)
CIE-LCHlch(60.02, 33.75, 261.94°)
OKLaboklab(65.29% -0.0424 -0.0938)
OKLCHoklch(65.29% 0.103 245.6)
XYZxyz(25.6124, 28.1485, 60.5718)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796CB #CB8C57
analogous
#57CBC6 #5796CB #575CCB
triadic
#5796CB #CB5796 #96CB57
tetradic
#5796CB #C657CB #CB8C57 #5CCB57
square
#5796CB #C657CB #CB8C57 #5CCB57
split-complementary
#5796CB #CB575C #CBC657
monochromatic
#285880 #3678AF #5796CB #86B3D9 #B4D0E8

Accessibility & contrast

On white

3.17
#5796CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5796CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796CB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796CB#FFFFFF#000000##000000
##5796CB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CD
Deuteranopia (green-blind)
#708BCA
Tritanopia (blue-blind)
#00A3A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5796cb;
/* rgb */ color: rgb(87, 150, 203);
/* oklch */ color: oklch(65.3% 0.103 245.6);
Tailwind
colors: {
  custom: {
    50: '#8fb4db',
    500: '#5796cb',
    950: '#000000',
  },
}
SCSS
$custom: #5796cb;
$custom-light: #8fb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#5796cb",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 207.414,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65291,
    "c": 0.10292,
    "h": 245.6
  },
  "luminance": 0.28151
}

Semantic roles & 50–950 ramp

primary
#5796CB
secondary
#D7BDA7
accent
#8E4CDC
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5796CB

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

Preview Lab → · Contrast checker → · Palette generator →

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