#5796BB#5796BB

#5796BB is a light, moderate cyan. Relative luminance 0.274; OKLCH L 64.6% C 0.085 H 236.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5796BB
RGBrgb(87, 150, 187)
HSLhsl(202, 42%, 54%)
HSVhsv(202, 53%, 73%)
CMYKcmyk(53.5%, 19.8%, 0%, 26.7%)
CIE-LABlab(59.37, -9.69, -25.43)
CIE-LCHlch(59.37, 27.21, 249.14°)
OKLaboklab(64.55% -0.0479 -0.0708)
OKLCHoklch(64.55% 0.085 236)
XYZxyz(23.8032, 27.4248, 51.0432)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5796BB #BB7C57
analogous
#57BBAE #5796BB #5764BB
triadic
#5796BB #BB5796 #96BB57
tetradic
#5796BB #AE57BB #BB7C57 #64BB57
square
#5796BB #AE57BB #BB7C57 #64BB57
split-complementary
#5796BB #BB5764 #BBAE57
monochromatic
#2C546C #3D7697 #5796BB #83B1CD #AECCDE

Accessibility & contrast

On white

3.24
#5796BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5796BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5796BB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5796BB#FFFFFF#000000##000000
##5796BB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BD
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#15A0A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5796bb;
/* rgb */ color: rgb(87, 150, 187);
/* oklch */ color: oklch(64.6% 0.085 236.0);
Tailwind
colors: {
  custom: {
    50: '#8db4cf',
    500: '#5796bb',
    950: '#000000',
  },
}
SCSS
$custom: #5796bb;
$custom-light: #8db4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5796bb",
  "rgb": {
    "r": 87,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 202.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.08549,
    "h": 236
  },
  "luminance": 0.27427
}

Semantic roles & 50–950 ramp

primary
#5796BB
secondary
#CCB1A2
accent
#8456D2
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1113
muted
#7E8082

Preview Lab

Preview with #5796BB

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

Preview Lab → · Contrast checker → · Palette generator →

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