#5191DE#5191DE

#5191DE is a light, vivid cyan. Relative luminance 0.273; OKLCH L 64.9% C 0.133 H 254.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5191DE
RGBrgb(81, 145, 222)
HSLhsl(213, 68%, 59%)
HSVhsv(213, 64%, 87%)
CMYKcmyk(63.5%, 34.7%, 0%, 12.9%)
CIE-LABlab(59.22, 3.21, -45.31)
CIE-LCHlch(59.22, 45.42, 274.06°)
OKLaboklab(64.88% -0.0363 -0.1284)
OKLCHoklch(64.88% 0.133 254.2)
XYZxyz(26.6988, 27.2715, 72.9500)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191DE #DE9E51
analogous
#51D8DE #5191DE #5851DE
triadic
#5191DE #DE5191 #91DE51
tetradic
#5191DE #DE51D8 #DE9E51 #51DE58
square
#5191DE #DE51D8 #DE9E51 #51DE58
split-complementary
#5191DE #DE5851 #D8DE51
monochromatic
#1D5598 #2771CB #5191DE #84B2E8 #B8D2F2

Accessibility & contrast

On white

3.25
#5191DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5191DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191DE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191DE#FFFFFF#000000##000000
##5191DE1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#00A3AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5191de;
/* rgb */ color: rgb(81, 145, 222);
/* oklch */ color: oklch(64.9% 0.133 254.2);
Tailwind
colors: {
  custom: {
    50: '#8eb0e8',
    500: '#5191de',
    950: '#000000',
  },
}
SCSS
$custom: #5191de;
$custom-light: #8eb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5191de",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 222
  },
  "hsl": {
    "h": 212.766,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.13345,
    "h": 254.2
  },
  "luminance": 0.27274
}

Semantic roles & 50–950 ramp

primary
#5191DE
secondary
#E1C8AA
accent
#9C3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5191DE

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

Preview Lab → · Contrast checker → · Palette generator →

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