#5191ED#5191ED

#5191ED is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.7% C 0.153 H 257.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5191ED
RGBrgb(81, 145, 237)
HSLhsl(215, 81%, 62%)
HSVhsv(215, 66%, 93%)
CMYKcmyk(65.8%, 38.8%, 0%, 7.1%)
CIE-LABlab(59.99, 8.29, -52.42)
CIE-LCHlch(59.99, 53.07, 278.98°)
OKLaboklab(65.73% -0.0327 -0.1492)
OKLCHoklch(65.73% 0.153 257.6)
XYZxyz(28.7993, 28.1117, 84.0127)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191ED #EDAD51
analogous
#51DFED #5191ED #5F51ED
triadic
#5191ED #ED5191 #91ED51
tetradic
#5191ED #ED51DF #EDAD51 #51ED5F
square
#5191ED #ED51DF #EDAD51 #51ED5F
split-complementary
#5191ED #ED5F51 #DFED51
monochromatic
#1254B1 #1A6EE7 #5191ED #88B4F3 #C0D7F8

Accessibility & contrast

On white

3.17
#5191ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5191ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191ED
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191ED#FFFFFF#000000##000000
##5191ED1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F1
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5191ed;
/* rgb */ color: rgb(81, 145, 237);
/* oklch */ color: oklch(65.7% 0.153 257.6);
Tailwind
colors: {
  custom: {
    50: '#91b0f3',
    500: '#5191ed',
    950: '#000000',
  },
}
SCSS
$custom: #5191ed;
$custom-light: #91b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5191ed",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 215.385,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.15278,
    "h": 257.6
  },
  "luminance": 0.28115
}

Semantic roles & 50–950 ramp

primary
#5191ED
secondary
#E9D2B0
accent
#8608DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5191ED

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

Preview Lab → · Contrast checker → · Palette generator →

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