#5791C7#5791C7

#5791C7 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 64.0% C 0.102 H 248.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5791C7
RGBrgb(87, 145, 199)
HSLhsl(209, 50%, 56%)
HSVhsv(209, 56%, 78%)
CMYKcmyk(56.3%, 27.1%, 0%, 22%)
CIE-LABlab(58.41, -3.14, -33.67)
CIE-LCHlch(58.41, 33.82, 264.67°)
OKLaboklab(63.97% -0.0381 -0.0945)
OKLCHoklch(63.97% 0.102 248.1)
XYZxyz(24.3610, 26.3985, 57.8334)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C7 #C78D57
analogous
#57C7C5 #5791C7 #5759C7
triadic
#5791C7 #C75791 #91C757
tetradic
#5791C7 #C557C7 #C78D57 #59C757
square
#5791C7 #C557C7 #C78D57 #59C757
split-complementary
#5791C7 #C75759 #C7C557
monochromatic
#29537B #3872A9 #5791C7 #85AFD6 #B3CDE6

Accessibility & contrast

On white

3.34
#5791C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5791C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C7#FFFFFF#000000##000000
##5791C71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93C9
Deuteranopia (green-blind)
#6C87C6
Tritanopia (blue-blind)
#009EA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5791c7;
/* rgb */ color: rgb(87, 145, 199);
/* oklch */ color: oklch(64.0% 0.102 248.1);
Tailwind
colors: {
  custom: {
    50: '#8eb1d8',
    500: '#5791c7',
    950: '#000000',
  },
}
SCSS
$custom: #5791c7;
$custom-light: #8eb1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c7",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 199
  },
  "hsl": {
    "h": 208.929,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.10192,
    "h": 248.1
  },
  "luminance": 0.26401
}

Semantic roles & 50–950 ramp

primary
#5791C7
secondary
#D4BCA6
accent
#914EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C7

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

Preview Lab → · Contrast checker → · Palette generator →

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