#5791C6#5791C6

#5791C6 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.9% C 0.101 H 247.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5791C6
RGBrgb(87, 145, 198)
HSLhsl(209, 49%, 56%)
HSVhsv(209, 56%, 78%)
CMYKcmyk(56.1%, 26.8%, 0%, 22.4%)
CIE-LABlab(58.37, -3.46, -33.18)
CIE-LCHlch(58.37, 33.36, 264.05°)
OKLaboklab(63.92% -0.0384 -0.0931)
OKLCHoklch(63.92% 0.101 247.6)
XYZxyz(24.2453, 26.3522, 57.2239)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C6 #C68C57
analogous
#57C6C3 #5791C6 #5759C6
triadic
#5791C6 #C65791 #91C657
tetradic
#5791C6 #C357C6 #C68C57 #59C657
square
#5791C6 #C357C6 #C68C57 #59C657
split-complementary
#5791C6 #C65759 #C6C357
monochromatic
#295379 #3972A7 #5791C6 #85AFD6 #B2CDE5

Accessibility & contrast

On white

3.35
#5791C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5791C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C6#FFFFFF#000000##000000
##5791C61.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C8
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5791c6;
/* rgb */ color: rgb(87, 145, 198);
/* oklch */ color: oklch(63.9% 0.101 247.6);
Tailwind
colors: {
  custom: {
    50: '#8eb1d7',
    500: '#5791c6',
    950: '#000000',
  },
}
SCSS
$custom: #5791c6;
$custom-light: #8eb1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c6",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 198
  },
  "hsl": {
    "h": 208.649,
    "s": 49.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.10071,
    "h": 247.6
  },
  "luminance": 0.26354
}

Semantic roles & 50–950 ramp

primary
#5791C6
secondary
#D3BBA5
accent
#914FD9
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C6

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

Preview Lab → · Contrast checker → · Palette generator →

#5791C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva