#516BD2#516BD2

#516BD2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.161 H 269.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#516BD2
RGBrgb(81, 107, 210)
HSLhsl(228, 59%, 57%)
HSVhsv(228, 61%, 82%)
CMYKcmyk(61.4%, 49%, 0%, 17.6%)
CIE-LABlab(48.15, 22.25, -56.18)
CIE-LCHlch(48.15, 60.43, 291.60°)
OKLaboklab(56.13% -0.0003 -0.1608)
OKLCHoklch(56.13% 0.161 269.9)
XYZxyz(20.2800, 16.9161, 63.1567)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BD2 #D2B851
analogous
#51ACD2 #516BD2 #7851D2
triadic
#516BD2 #D2516B #6BD251
tetradic
#516BD2 #D251AC #D2B851 #51D278
square
#516BD2 #D251AC #D2B851 #51D278
split-complementary
#516BD2 #D27851 #ACD251
monochromatic
#233786 #2F4BB7 #516BD2 #8294DF #B2BEEB

Accessibility & contrast

On white

4.79
#516BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#516BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BD2#FFFFFF#000000##FFFFFF
##516BD21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#196DD0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bd2;
/* rgb */ color: rgb(81, 107, 210);
/* oklch */ color: oklch(56.1% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#516bd2',
    950: '#000000',
  },
}
SCSS
$custom: #516bd2;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516bd2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 227.907,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.16079,
    "h": 269.9
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#516BD2
secondary
#DACFA5
accent
#C346E2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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