#5796BF#5796BF

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

Color values

HEX#5796BF
RGBrgb(87, 150, 191)
HSLhsl(204, 45%, 55%)
HSVhsv(204, 54%, 75%)
CMYKcmyk(54.5%, 21.5%, 0%, 25.1%)
CIE-LABlab(59.52, -8.47, -27.44)
CIE-LCHlch(59.52, 28.71, 252.85°)
OKLaboklab(64.73% -0.0464 -0.0766)
OKLCHoklch(64.73% 0.09 238.8)
XYZxyz(24.2373, 27.5985, 53.3299)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796BF #BF8057
analogous
#57BFB4 #5796BF #5762BF
triadic
#5796BF #BF5796 #96BF57
tetradic
#5796BF #B457BF #BF8057 #62BF57
square
#5796BF #B457BF #BF8057 #62BF57
split-complementary
#5796BF #BF5762 #BFB457
monochromatic
#2B5571 #3C779D #5796BF #83B2D0 #B0CDE1

Accessibility & contrast

On white

3.22
#5796BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5796BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796BF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796BF#FFFFFF#000000##000000
##5796BF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C1
Deuteranopia (green-blind)
#758BBE
Tritanopia (blue-blind)
#0AA0A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5796bf;
/* rgb */ color: rgb(87, 150, 191);
/* oklch */ color: oklch(64.7% 0.090 238.8);
Tailwind
colors: {
  custom: {
    50: '#8eb4d2',
    500: '#5796bf',
    950: '#000000',
  },
}
SCSS
$custom: #5796bf;
$custom-light: #8eb4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5796bf",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 191
  },
  "hsl": {
    "h": 203.654,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.08957,
    "h": 238.8
  },
  "luminance": 0.27601
}

Semantic roles & 50–950 ramp

primary
#5796BF
secondary
#CFB4A3
accent
#8653D5
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5796BF

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

Preview Lab → · Contrast checker → · Palette generator →

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