#5791A7#5791A7

#5791A7 is a light, moderate cyan. Relative luminance 0.251; OKLCH L 62.5% C 0.069 H 224.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5791A7
RGBrgb(87, 145, 167)
HSLhsl(197, 31%, 50%)
HSVhsv(197, 48%, 65%)
CMYKcmyk(47.9%, 13.2%, 0%, 34.5%)
CIE-LABlab(57.14, -12.85, -17.47)
CIE-LCHlch(57.14, 21.69, 233.67°)
OKLaboklab(62.54% -0.0494 -0.0483)
OKLCHoklch(62.54% 0.069 224.4)
XYZxyz(21.0284, 25.0654, 40.2817)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791A7 #A76D57
analogous
#57A795 #5791A7 #5769A7
triadic
#5791A7 #A75791 #91A757
tetradic
#5791A7 #9557A7 #A76D57 #69A757
square
#5791A7 #9557A7 #A76D57 #69A757
split-complementary
#5791A7 #A75769 #A79557
monochromatic
#2D4B57 #426E7F #5791A7 #7FABBC #A7C6D1

Accessibility & contrast

On white

3.49
#5791A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5791A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791A7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791A7#FFFFFF#000000##000000
##5791A71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA8
Deuteranopia (green-blind)
#7985A7
Tritanopia (blue-blind)
#2F9898
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5791a7;
/* rgb */ color: rgb(87, 145, 167);
/* oklch */ color: oklch(62.5% 0.069 224.4);
Tailwind
colors: {
  custom: {
    50: '#8bb1c1',
    500: '#5791a7',
    950: '#000000',
  },
}
SCSS
$custom: #5791a7;
$custom-light: #8bb1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5791a7",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 167
  },
  "hsl": {
    "h": 196.5,
    "s": 31.496,
    "l": 49.804
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.0691,
    "h": 224.4
  },
  "luminance": 0.25067
}

Semantic roles & 50–950 ramp

primary
#5791A7
secondary
#BFA59B
accent
#7D60C8
background
#F8FAFB
surface
#F0F5F7
border
#CBCFD0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #5791A7

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

Preview Lab → · Contrast checker → · Palette generator →

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