#5791C5#5791C5

#5791C5 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.9% C 0.100 H 247.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5791C5
RGBrgb(87, 145, 197)
HSLhsl(208, 49%, 56%)
HSVhsv(208, 56%, 77%)
CMYKcmyk(55.8%, 26.4%, 0%, 22.7%)
CIE-LABlab(58.33, -3.77, -32.68)
CIE-LCHlch(58.33, 32.90, 263.41°)
OKLaboklab(63.87% -0.0387 -0.0917)
OKLCHoklch(63.87% 0.1 247.1)
XYZxyz(24.1303, 26.3062, 56.6185)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C5 #C58B57
analogous
#57C5C2 #5791C5 #575AC5
triadic
#5791C5 #C55791 #91C557
tetradic
#5791C5 #C257C5 #C58B57 #5AC557
square
#5791C5 #C257C5 #C58B57 #5AC557
split-complementary
#5791C5 #C5575A #C5C257
monochromatic
#295378 #3972A6 #5791C5 #84AFD5 #B2CDE4

Accessibility & contrast

On white

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

On black

6.26
#5791C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C5#FFFFFF#000000##000000
##5791C51.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5791c5;
/* rgb */ color: rgb(87, 145, 197);
/* oklch */ color: oklch(63.9% 0.100 247.1);
Tailwind
colors: {
  custom: {
    50: '#8eb1d6',
    500: '#5791c5',
    950: '#000000',
  },
}
SCSS
$custom: #5791c5;
$custom-light: #8eb1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c5",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 197
  },
  "hsl": {
    "h": 208.364,
    "s": 48.673,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63869,
    "c": 0.09951,
    "h": 247.1
  },
  "luminance": 0.26308
}

Semantic roles & 50–950 ramp

primary
#5791C5
secondary
#D3BBA5
accent
#9050D8
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C5

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

Preview Lab → · Contrast checker → · Palette generator →

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