#5191DC#5191DC

#5191DC is a light, vivid cyan. Relative luminance 0.272; OKLCH L 64.8% C 0.131 H 253.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5191DC
RGBrgb(81, 145, 220)
HSLhsl(212, 67%, 59%)
HSVhsv(212, 63%, 86%)
CMYKcmyk(63.2%, 34.1%, 0%, 13.7%)
CIE-LABlab(59.13, 2.54, -44.35)
CIE-LCHlch(59.13, 44.42, 273.28°)
OKLaboklab(64.77% -0.0368 -0.1256)
OKLCHoklch(64.77% 0.131 253.7)
XYZxyz(26.4323, 27.1649, 71.5466)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191DC #DC9C51
analogous
#51D7DC #5191DC #5751DC
triadic
#5191DC #DC5191 #91DC51
tetradic
#5191DC #DC51D7 #DC9C51 #51DC57
square
#5191DC #DC51D7 #DC9C51 #51DC57
split-complementary
#5191DC #DC5751 #D7DC51
monochromatic
#1E5595 #2872C8 #5191DC #84B1E6 #B7D1F0

Accessibility & contrast

On white

3.26
#5191DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5191DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191DC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191DC#FFFFFF#000000##000000
##5191DC1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5191dc;
/* rgb */ color: rgb(81, 145, 220);
/* oklch */ color: oklch(64.8% 0.131 253.7);
Tailwind
colors: {
  custom: {
    50: '#8eb0e7',
    500: '#5191dc',
    950: '#000000',
  },
}
SCSS
$custom: #5191dc;
$custom-light: #8eb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5191dc",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 212.374,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64774,
    "c": 0.1309,
    "h": 253.7
  },
  "luminance": 0.27167
}

Semantic roles & 50–950 ramp

primary
#5191DC
secondary
#E0C7A9
accent
#9B3EE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5191DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5191DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva