#5791CA#5791CA

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

Color values

HEX#5791CA
RGBrgb(87, 145, 202)
HSLhsl(210, 52%, 57%)
HSVhsv(210, 57%, 79%)
CMYKcmyk(56.9%, 28.2%, 0%, 20.8%)
CIE-LABlab(58.55, -2.19, -35.16)
CIE-LCHlch(58.55, 35.22, 266.44°)
OKLaboklab(64.11% -0.0372 -0.0988)
OKLCHoklch(64.11% 0.106 249.4)
XYZxyz(24.7127, 26.5392, 59.6859)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791CA #CA9057
analogous
#57CAC9 #5791CA #5758CA
triadic
#5791CA #CA5791 #91CA57
tetradic
#5791CA #C957CA #CA9057 #58CA57
square
#5791CA #C957CA #CA9057 #58CA57
split-complementary
#5791CA #CA5758 #CAC957
monochromatic
#28547F #3772AD #5791CA #86AFD9 #B4CEE7

Accessibility & contrast

On white

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

On black

6.31
#5791CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791CA#FFFFFF#000000##000000
##5791CA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#009EA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791ca;
/* rgb */ color: rgb(87, 145, 202);
/* oklch */ color: oklch(64.1% 0.106 249.4);
Tailwind
colors: {
  custom: {
    50: '#8fb1da',
    500: '#5791ca',
    950: '#000000',
  },
}
SCSS
$custom: #5791ca;
$custom-light: #8fb1da;
$custom-dark: #000000;
JSON
{
  "hex": "#5791ca",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 202
  },
  "hsl": {
    "h": 209.739,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.10558,
    "h": 249.4
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#5791CA
secondary
#D6BEA7
accent
#934CDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5791CA

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

Preview Lab → · Contrast checker → · Palette generator →

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