#5791CD#5791CD

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

Color values

HEX#5791CD
RGBrgb(87, 145, 205)
HSLhsl(211, 54%, 57%)
HSVhsv(211, 58%, 80%)
CMYKcmyk(57.6%, 29.3%, 0%, 19.6%)
CIE-LABlab(58.68, -1.23, -36.63)
CIE-LCHlch(58.68, 36.65, 268.08°)
OKLaboklab(64.26% -0.0363 -0.1031)
OKLCHoklch(64.26% 0.109 250.6)
XYZxyz(25.0714, 26.6826, 61.5748)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791CD #CD9357
analogous
#57CCCD #5791CD #5857CD
triadic
#5791CD #CD5791 #91CD57
tetradic
#5791CD #CD57CC #CD9357 #57CD58
square
#5791CD #CD57CC #CD9357 #57CD58
split-complementary
#5791CD #CD5857 #CCCD57
monochromatic
#275483 #3572B2 #5791CD #86B0DB #B5CFE9

Accessibility & contrast

On white

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

On black

6.34
#5791CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791CD#FFFFFF#000000##000000
##5791CD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#009FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791cd;
/* rgb */ color: rgb(87, 145, 205);
/* oklch */ color: oklch(64.3% 0.109 250.6);
Tailwind
colors: {
  custom: {
    50: '#8fb1dc',
    500: '#5791cd',
    950: '#000000',
  },
}
SCSS
$custom: #5791cd;
$custom-light: #8fb1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5791cd",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 210.508,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.10929,
    "h": 250.6
  },
  "luminance": 0.26685
}

Semantic roles & 50–950 ramp

primary
#5791CD
secondary
#D8C0A8
accent
#954ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5791CD

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

Preview Lab → · Contrast checker → · Palette generator →

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