#5791CB#5791CB

#5791CB is a light, moderate cyan. Relative luminance 0.266; OKLCH L 64.2% C 0.107 H 249.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5791CB
RGBrgb(87, 145, 203)
HSLhsl(210, 53%, 57%)
HSVhsv(210, 57%, 80%)
CMYKcmyk(57.1%, 28.6%, 0%, 20.4%)
CIE-LABlab(58.59, -1.87, -35.65)
CIE-LCHlch(58.59, 35.70, 267.00°)
OKLaboklab(64.16% -0.0369 -0.1003)
OKLCHoklch(64.16% 0.107 249.8)
XYZxyz(24.8315, 26.5867, 60.3115)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791CB #CB9157
analogous
#57CBCB #5791CB #5757CB
triadic
#5791CB #CB5791 #91CB57
tetradic
#5791CB #CB57CB #CB9157 #57CB57
square
#5791CB #CB57CB #CB9157 #57CB57
split-complementary
#5791CB #CB5757 #CBCB57
monochromatic
#285480 #3672AF #5791CB #86B0D9 #B4CEE8

Accessibility & contrast

On white

3.32
#5791CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5791CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791CB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791CB#FFFFFF#000000##000000
##5791CB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#009EA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5791cb;
/* rgb */ color: rgb(87, 145, 203);
/* oklch */ color: oklch(64.2% 0.107 249.8);
Tailwind
colors: {
  custom: {
    50: '#8fb1db',
    500: '#5791cb',
    950: '#000000',
  },
}
SCSS
$custom: #5791cb;
$custom-light: #8fb1db;
$custom-dark: #000000;
JSON
{
  "hex": "#5791cb",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 203
  },
  "hsl": {
    "h": 210,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.10681,
    "h": 249.8
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#5791CB
secondary
#D7BFA7
accent
#944CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5791CB

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

Preview Lab → · Contrast checker → · Palette generator →

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