#5791C2#5791C2

#5791C2 is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.7% C 0.096 H 245.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5791C2
RGBrgb(87, 145, 194)
HSLhsl(207, 47%, 55%)
HSVhsv(207, 55%, 76%)
CMYKcmyk(55.2%, 25.3%, 0%, 23.9%)
CIE-LABlab(58.20, -4.71, -31.19)
CIE-LCHlch(58.20, 31.54, 261.40°)
OKLaboklab(63.73% -0.0397 -0.0874)
OKLCHoklch(63.73% 0.096 245.6)
XYZxyz(23.7900, 26.1701, 54.8261)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C2 #C28857
analogous
#57C2BE #5791C2 #575BC2
triadic
#5791C2 #C25791 #91C257
tetradic
#5791C2 #BE57C2 #C28857 #5BC257
square
#5791C2 #BE57C2 #C28857 #5BC257
split-complementary
#5791C2 #C2575B #C2BE57
monochromatic
#2A5274 #3B72A1 #5791C2 #84AED2 #B1CCE3

Accessibility & contrast

On white

3.37
#5791C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5791C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C2#FFFFFF#000000##000000
##5791C21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#6E87C1
Tritanopia (blue-blind)
#059DA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5791c2;
/* rgb */ color: rgb(87, 145, 194);
/* oklch */ color: oklch(63.7% 0.096 245.6);
Tailwind
colors: {
  custom: {
    50: '#8eb1d4',
    500: '#5791c2',
    950: '#000000',
  },
}
SCSS
$custom: #5791c2;
$custom-light: #8eb1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c2",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 207.477,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63726,
    "c": 0.09595,
    "h": 245.6
  },
  "luminance": 0.26172
}

Semantic roles & 50–950 ramp

primary
#5791C2
secondary
#D1B9A4
accent
#8E51D6
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C2

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

Preview Lab → · Contrast checker → · Palette generator →

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