#5791DD#5791DD

#5791DD is a light, vivid cyan. Relative luminance 0.275; OKLCH L 65.1% C 0.130 H 255.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5791DD
RGBrgb(87, 145, 221)
HSLhsl(214, 66%, 60%)
HSVhsv(214, 61%, 87%)
CMYKcmyk(60.6%, 34.4%, 0%, 13.3%)
CIE-LABlab(59.43, 3.97, -44.41)
CIE-LCHlch(59.43, 44.59, 275.11°)
OKLaboklab(65.1% -0.0318 -0.1257)
OKLCHoklch(65.1% 0.13 255.8)
XYZxyz(27.1024, 27.4950, 72.2714)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791DD #DDA357
analogous
#57D4DD #5791DD #6057DD
triadic
#5791DD #DD5791 #91DD57
tetradic
#5791DD #DD57D4 #DDA357 #57DD60
square
#5791DD #DD57D4 #DDA357 #57DD60
split-complementary
#5791DD #DD6057 #D4DD57
monochromatic
#1F559A #2A70CD #5791DD #8AB2E7 #BDD4F2

Accessibility & contrast

On white

3.23
#5791DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5791DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791DD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791DD#FFFFFF#000000##000000
##5791DD1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#00A2AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5791dd;
/* rgb */ color: rgb(87, 145, 221);
/* oklch */ color: oklch(65.1% 0.130 255.8);
Tailwind
colors: {
  custom: {
    50: '#91b0e8',
    500: '#5791dd',
    950: '#000000',
  },
}
SCSS
$custom: #5791dd;
$custom-light: #91b0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5791dd",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 214.03,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65097,
    "c": 0.12968,
    "h": 255.8
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#5791DD
secondary
#E1CBAE
accent
#7F17CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791DD

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

Preview Lab → · Contrast checker → · Palette generator →

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