#5191D8#5191D8

#5191D8 is a light, vivid cyan. Relative luminance 0.270; OKLCH L 64.6% C 0.126 H 252.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5191D8
RGBrgb(81, 145, 216)
HSLhsl(212, 63%, 58%)
HSVhsv(212, 63%, 85%)
CMYKcmyk(62.5%, 32.9%, 0%, 15.3%)
CIE-LABlab(58.93, 1.21, -42.42)
CIE-LCHlch(58.93, 42.44, 271.63°)
OKLaboklab(64.56% -0.0379 -0.12)
OKLCHoklch(64.56% 0.126 252.5)
XYZxyz(25.9089, 26.9555, 68.7900)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191D8 #D89851
analogous
#51D4D8 #5191D8 #5551D8
triadic
#5191D8 #D85191 #91D851
tetradic
#5191D8 #D851D4 #D89851 #51D855
square
#5191D8 #D851D4 #D89851 #51D855
split-complementary
#5191D8 #D85551 #D4D851
monochromatic
#20548F #2B72C1 #5191D8 #83B1E3 #B5D0EE

Accessibility & contrast

On white

3.29
#5191D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5191D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191D8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191D8#FFFFFF#000000##000000
##5191D81.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DB
Deuteranopia (green-blind)
#6088D7
Tritanopia (blue-blind)
#00A1AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5191d8;
/* rgb */ color: rgb(81, 145, 216);
/* oklch */ color: oklch(64.6% 0.126 252.5);
Tailwind
colors: {
  custom: {
    50: '#8eb0e4',
    500: '#5191d8',
    950: '#000000',
  },
}
SCSS
$custom: #5191d8;
$custom-light: #8eb0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5191d8",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 216
  },
  "hsl": {
    "h": 211.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6456,
    "c": 0.12582,
    "h": 252.5
  },
  "luminance": 0.26958
}

Semantic roles & 50–950 ramp

primary
#5191D8
secondary
#DDC4A8
accent
#9841E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1015
muted
#7E7F84

Preview Lab

Preview with #5191D8

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

Preview Lab → · Contrast checker → · Palette generator →

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