#516DE3#516DE3

#516DE3 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.181 H 269.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516DE3
RGBrgb(81, 109, 227)
HSLhsl(228, 72%, 60%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(64.3%, 52%, 0%, 11%)
CIE-LABlab(49.77, 26.81, -63.21)
CIE-LCHlch(49.77, 68.66, 292.98°)
OKLaboklab(57.71% -0.0005 -0.1814)
OKLCHoklch(57.71% 0.181 269.8)
XYZxyz(22.7224, 18.2306, 74.9796)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DE3 #E3C751
analogous
#51B6E3 #516DE3 #7E51E3
triadic
#516DE3 #E3516D #6DE351
tetradic
#516DE3 #E351B6 #E3C751 #51E37E
square
#516DE3 #E351B6 #E3C751 #51E37E
split-complementary
#516DE3 #E37E51 #B6E351
monochromatic
#1A33A0 #2244D5 #516DE3 #8699EB #BAC5F4

Accessibility & contrast

On white

4.52
#516DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#516DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DE3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DE3#FFFFFF#000000##000000
##516DE31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE7
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516de3;
/* rgb */ color: rgb(81, 109, 227);
/* oklch */ color: oklch(57.7% 0.181 269.8);
Tailwind
colors: {
  custom: {
    50: '#9096ed',
    500: '#516de3',
    950: '#000000',
  },
}
SCSS
$custom: #516de3;
$custom-light: #9096ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516de3",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 227
  },
  "hsl": {
    "h": 228.493,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.18144,
    "h": 269.8
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#516DE3
secondary
#E4D9AC
accent
#AF11D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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