#516DE7#516DE7

#516DE7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.187 H 269.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516DE7
RGBrgb(81, 109, 231)
HSLhsl(229, 76%, 61%)
HSVhsv(229, 65%, 91%)
CMYKcmyk(64.9%, 52.8%, 0%, 9.4%)
CIE-LABlab(50.04, 28.18, -65.03)
CIE-LCHlch(50.04, 70.87, 293.43°)
OKLaboklab(57.99% -0.0002 -0.1868)
OKLCHoklch(57.99% 0.187 269.9)
XYZxyz(23.2809, 18.4540, 77.9209)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DE7 #E7CB51
analogous
#51B8E7 #516DE7 #8051E7
triadic
#516DE7 #E7516D #6DE751
tetradic
#516DE7 #E751B8 #E7CB51 #51E780
square
#516DE7 #E751B8 #E7CB51 #51E780
split-complementary
#516DE7 #E78051 #B8E751
monochromatic
#1732A7 #1E42DC #516DE7 #879AEE #BDC7F6

Accessibility & contrast

On white

4.48
#516DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#516DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DE7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DE7#FFFFFF#000000##000000
##516DE71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516de7;
/* rgb */ color: rgb(81, 109, 231);
/* oklch */ color: oklch(58.0% 0.187 269.9);
Tailwind
colors: {
  custom: {
    50: '#9196ef',
    500: '#516de7',
    950: '#000000',
  },
}
SCSS
$custom: #516de7;
$custom-light: #9196ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516de7",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 228.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.18679,
    "h": 269.9
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

primary
#516DE7
secondary
#E6DCAE
accent
#B20ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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