#5796BE#5796BE

#5796BE is a light, moderate cyan. Relative luminance 0.276; OKLCH L 64.7% C 0.089 H 238.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5796BE
RGBrgb(87, 150, 190)
HSLhsl(203, 44%, 54%)
HSVhsv(203, 54%, 75%)
CMYKcmyk(54.2%, 21.1%, 0%, 25.5%)
CIE-LABlab(59.48, -8.77, -26.94)
CIE-LCHlch(59.48, 28.33, 251.96°)
OKLaboklab(64.69% -0.0468 -0.0751)
OKLCHoklch(64.69% 0.089 238.1)
XYZxyz(24.1277, 27.5546, 52.7523)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796BE #BE7F57
analogous
#57BEB3 #5796BE #5763BE
triadic
#5796BE #BE5796 #96BE57
tetradic
#5796BE #B357BE #BE7F57 #63BE57
square
#5796BE #B357BE #BE7F57 #63BE57
split-complementary
#5796BE #BE5763 #BEB357
monochromatic
#2B556F #3C779C #5796BE #83B2CF #AFCDE0

Accessibility & contrast

On white

3.23
#5796BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5796BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796BE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796BE#FFFFFF#000000##000000
##5796BE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495C0
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#0DA0A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5796be;
/* rgb */ color: rgb(87, 150, 190);
/* oklch */ color: oklch(64.7% 0.089 238.1);
Tailwind
colors: {
  custom: {
    50: '#8eb4d1',
    500: '#5796be',
    950: '#000000',
  },
}
SCSS
$custom: #5796be;
$custom-light: #8eb4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5796be",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 190
  },
  "hsl": {
    "h": 203.301,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64688,
    "c": 0.08853,
    "h": 238.1
  },
  "luminance": 0.27557
}

Semantic roles & 50–950 ramp

primary
#5796BE
secondary
#CEB4A3
accent
#8654D4
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5796BE

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

Preview Lab → · Contrast checker → · Palette generator →

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