#516EE7#516EE7

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

Color values

HEX#516EE7
RGBrgb(81, 110, 231)
HSLhsl(228, 76%, 61%)
HSVhsv(228, 65%, 91%)
CMYKcmyk(64.9%, 52.4%, 0%, 9.4%)
CIE-LABlab(50.30, 27.56, -64.62)
CIE-LCHlch(50.30, 70.25, 293.10°)
OKLaboklab(58.18% -0.0011 -0.1856)
OKLCHoklch(58.18% 0.186 269.7)
XYZxyz(23.3882, 18.6686, 77.9567)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EE7 #E7CA51
analogous
#51B9E7 #516EE7 #7F51E7
triadic
#516EE7 #E7516E #6EE751
tetradic
#516EE7 #E751B9 #E7CA51 #51E77F
square
#516EE7 #E751B9 #E7CA51 #51E77F
split-complementary
#516EE7 #E77F51 #B9E751
monochromatic
#1733A7 #1E43DC #516EE7 #879BEE #BDC8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516EE7#FFFFFF#000000##000000
##516EE71.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)
#1E7FEB
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516ee7;
/* rgb */ color: rgb(81, 110, 231);
/* oklch */ color: oklch(58.2% 0.186 269.7);
Tailwind
colors: {
  custom: {
    50: '#9197ef',
    500: '#516ee7',
    950: '#000000',
  },
}
SCSS
$custom: #516ee7;
$custom-light: #9197ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516ee7",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 228.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.18556,
    "h": 269.7
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#516EE7
secondary
#E6DBAE
accent
#B10ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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