#5791CE#5791CE

#5791CE is a light, moderate cyan. Relative luminance 0.267; OKLCH L 64.3% C 0.111 H 251.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5791CE
RGBrgb(87, 145, 206)
HSLhsl(211, 55%, 57%)
HSVhsv(211, 58%, 81%)
CMYKcmyk(57.8%, 29.6%, 0%, 19.2%)
CIE-LABlab(58.72, -0.91, -37.12)
CIE-LCHlch(58.72, 37.14, 268.60°)
OKLaboklab(64.31% -0.036 -0.1045)
OKLCHoklch(64.31% 0.111 251)
XYZxyz(25.1925, 26.7311, 62.2126)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791CE #CE9457
analogous
#57CDCE #5791CE #5857CE
triadic
#5791CE #CE5791 #91CE57
tetradic
#5791CE #CE57CD #CE9457 #57CE58
square
#5791CE #CE57CD #CE9457 #57CE58
split-complementary
#5791CE #CE5857 #CDCE57
monochromatic
#275484 #3472B3 #5791CE #86B0DC #B6CFEA

Accessibility & contrast

On white

3.31
#5791CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5791CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791CE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791CE#FFFFFF#000000##000000
##5791CE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D1
Deuteranopia (green-blind)
#6888CD
Tritanopia (blue-blind)
#009FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791ce;
/* rgb */ color: rgb(87, 145, 206);
/* oklch */ color: oklch(64.3% 0.111 251.0);
Tailwind
colors: {
  custom: {
    50: '#8fb1dd',
    500: '#5791ce',
    950: '#000000',
  },
}
SCSS
$custom: #5791ce;
$custom-light: #8fb1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5791ce",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 206
  },
  "hsl": {
    "h": 210.756,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.11054,
    "h": 251
  },
  "luminance": 0.26733
}

Semantic roles & 50–950 ramp

primary
#5791CE
secondary
#D8C1A8
accent
#964ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5791CE

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

Preview Lab → · Contrast checker → · Palette generator →

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