#5191E5#5191E5

#5191E5 is a light, vivid cyan. Relative luminance 0.277; OKLCH L 65.3% C 0.142 H 256.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5191E5
RGBrgb(81, 145, 229)
HSLhsl(214, 74%, 61%)
HSVhsv(214, 65%, 90%)
CMYKcmyk(64.6%, 36.7%, 0%, 10.2%)
CIE-LABlab(59.58, 5.57, -48.65)
CIE-LCHlch(59.58, 48.96, 276.53°)
OKLaboklab(65.27% -0.0345 -0.1382)
OKLCHoklch(65.27% 0.142 256)
XYZxyz(27.6565, 27.6546, 77.9939)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191E5 #E5A551
analogous
#51DBE5 #5191E5 #5B51E5
triadic
#5191E5 #E55191 #91E551
tetradic
#5191E5 #E551DB #E5A551 #51E55B
square
#5191E5 #E551DB #E5A551 #51E55B
split-complementary
#5191E5 #E55B51 #DBE551
monochromatic
#1854A3 #2070D8 #5191E5 #86B3ED #BBD4F5

Accessibility & contrast

On white

3.22
#5191E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5191E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191E5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191E5#FFFFFF#000000##000000
##5191E51.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5191e5;
/* rgb */ color: rgb(81, 145, 229);
/* oklch */ color: oklch(65.3% 0.142 256.0);
Tailwind
colors: {
  custom: {
    50: '#90b0ed',
    500: '#5191e5',
    950: '#000000',
  },
}
SCSS
$custom: #5191e5;
$custom-light: #90b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5191e5",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 229
  },
  "hsl": {
    "h": 214.054,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.14243,
    "h": 256
  },
  "luminance": 0.27657
}

Semantic roles & 50–950 ramp

primary
#5191E5
secondary
#E5CDAD
accent
#800FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5191E5

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

Preview Lab → · Contrast checker → · Palette generator →

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