#516DEA#516DEA

#516DEA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.2% C 0.191 H 270.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#516DEA
RGBrgb(81, 109, 234)
HSLhsl(229, 78%, 62%)
HSVhsv(229, 65%, 92%)
CMYKcmyk(65.4%, 53.4%, 0%, 8.2%)
CIE-LABlab(50.25, 29.20, -66.38)
CIE-LCHlch(50.25, 72.52, 293.75°)
OKLaboklab(58.21% 0 -0.1908)
OKLCHoklch(58.21% 0.191 270)
XYZxyz(23.7082, 18.6249, 80.1715)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DEA #EACE51
analogous
#51B9EA #516DEA #8251EA
triadic
#516DEA #EA516D #6DEA51
tetradic
#516DEA #EA51B9 #EACE51 #51EA82
square
#516DEA #EA51B9 #EACE51 #51EA82
split-complementary
#516DEA #EA8251 #B9EA51
monochromatic
#1530AC #1B40E2 #516DEA #889BF1 #BEC9F7

Accessibility & contrast

On white

4.44
#516DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#516DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DEA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DEA#FFFFFF#000000##000000
##516DEA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7FEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516dea;
/* rgb */ color: rgb(81, 109, 234);
/* oklch */ color: oklch(58.2% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#9196f2',
    500: '#516dea',
    950: '#000000',
  },
}
SCSS
$custom: #516dea;
$custom-light: #9196f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516dea",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 229.02,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.19078,
    "h": 270
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#516DEA
secondary
#E8DDAF
accent
#B50BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516DEA

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

Preview Lab → · Contrast checker → · Palette generator →

#516DEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva