#5191E2#5191E2

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

Color values

HEX#5191E2
RGBrgb(81, 145, 226)
HSLhsl(214, 71%, 60%)
HSVhsv(214, 64%, 89%)
CMYKcmyk(64.2%, 35.8%, 0%, 11.4%)
CIE-LABlab(59.42, 4.56, -47.22)
CIE-LCHlch(59.42, 47.44, 275.51°)
OKLaboklab(65.1% -0.0353 -0.134)
OKLCHoklch(65.1% 0.139 255.3)
XYZxyz(27.2412, 27.4885, 75.8069)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191E2 #E2A251
analogous
#51DAE2 #5191E2 #5951E2
triadic
#5191E2 #E25191 #91E251
tetradic
#5191E2 #E251DA #E2A251 #51E259
square
#5191E2 #E251DA #E2A251 #51E259
split-complementary
#5191E2 #E25951 #DAE251
monochromatic
#1A559E #2371D3 #5191E2 #85B2EB #BAD3F3

Accessibility & contrast

On white

3.23
#5191E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5191E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191E2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191E2#FFFFFF#000000##000000
##5191E21.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)
#6E97E5
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#00A4AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5191e2;
/* rgb */ color: rgb(81, 145, 226);
/* oklch */ color: oklch(65.1% 0.139 255.3);
Tailwind
colors: {
  custom: {
    50: '#8fb0eb',
    500: '#5191e2',
    950: '#000000',
  },
}
SCSS
$custom: #5191e2;
$custom-light: #8fb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5191e2",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 213.517,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.13858,
    "h": 255.3
  },
  "luminance": 0.27491
}

Semantic roles & 50–950 ramp

primary
#5191E2
secondary
#E3CBAC
accent
#7E12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5191E2

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

Preview Lab → · Contrast checker → · Palette generator →

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