#5791C8#5791C8

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

Color values

HEX#5791C8
RGBrgb(87, 145, 200)
HSLhsl(209, 51%, 56%)
HSVhsv(209, 57%, 78%)
CMYKcmyk(56.5%, 27.5%, 0%, 21.6%)
CIE-LABlab(58.46, -2.82, -34.17)
CIE-LCHlch(58.46, 34.28, 265.27°)
OKLaboklab(64.02% -0.0378 -0.096)
OKLCHoklch(64.02% 0.103 248.5)
XYZxyz(24.4775, 26.4451, 58.4469)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C8 #C88E57
analogous
#57C8C7 #5791C8 #5759C8
triadic
#5791C8 #C85791 #91C857
tetradic
#5791C8 #C757C8 #C88E57 #59C857
square
#5791C8 #C757C8 #C88E57 #59C857
split-complementary
#5791C8 #C85759 #C8C757
monochromatic
#29537C #3872AA #5791C8 #85AFD7 #B3CDE6

Accessibility & contrast

On white

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

On black

6.29
#5791C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C8#FFFFFF#000000##000000
##5791C81.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#009EA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791c8;
/* rgb */ color: rgb(87, 145, 200);
/* oklch */ color: oklch(64.0% 0.103 248.5);
Tailwind
colors: {
  custom: {
    50: '#8fb1d9',
    500: '#5791c8',
    950: '#000000',
  },
}
SCSS
$custom: #5791c8;
$custom-light: #8fb1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c8",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 200
  },
  "hsl": {
    "h": 209.204,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.10313,
    "h": 248.5
  },
  "luminance": 0.26447
}

Semantic roles & 50–950 ramp

primary
#5791C8
secondary
#D5BDA6
accent
#924EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C8

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

Preview Lab → · Contrast checker → · Palette generator →

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