#5791C9#5791C9

#5791C9 is a light, moderate cyan. Relative luminance 0.265; OKLCH L 64.1% C 0.104 H 249.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5791C9
RGBrgb(87, 145, 201)
HSLhsl(209, 51%, 56%)
HSVhsv(209, 57%, 79%)
CMYKcmyk(56.7%, 27.9%, 0%, 21.2%)
CIE-LABlab(58.50, -2.51, -34.66)
CIE-LCHlch(58.50, 34.75, 265.86°)
OKLaboklab(64.06% -0.0375 -0.0974)
OKLCHoklch(64.06% 0.104 249)
XYZxyz(24.5947, 26.4920, 59.0644)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C9 #C98F57
analogous
#57C9C8 #5791C9 #5758C9
triadic
#5791C9 #C95791 #91C957
tetradic
#5791C9 #C857C9 #C98F57 #58C957
square
#5791C9 #C857C9 #C98F57 #58C957
split-complementary
#5791C9 #C95758 #C9C857
monochromatic
#28547D #3772AC #5791C9 #85AFD8 #B4CEE7

Accessibility & contrast

On white

3.33
#5791C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5791C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C9
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C9#FFFFFF#000000##000000
##5791C91.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CB
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#009EA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791c9;
/* rgb */ color: rgb(87, 145, 201);
/* oklch */ color: oklch(64.1% 0.104 249.0);
Tailwind
colors: {
  custom: {
    50: '#8fb1d9',
    500: '#5791c9',
    950: '#000000',
  },
}
SCSS
$custom: #5791c9;
$custom-light: #8fb1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c9",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 201
  },
  "hsl": {
    "h": 209.474,
    "s": 51.351,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.10435,
    "h": 249
  },
  "luminance": 0.26494
}

Semantic roles & 50–950 ramp

primary
#5791C9
secondary
#D5BDA7
accent
#934DDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C9

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

Preview Lab → · Contrast checker → · Palette generator →

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