#516CD3#516CD3

#516CD3 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.161 H 269.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#516CD3
RGBrgb(81, 108, 211)
HSLhsl(228, 60%, 57%)
HSVhsv(228, 62%, 83%)
CMYKcmyk(61.6%, 48.8%, 0%, 17.3%)
CIE-LABlab(48.48, 21.97, -56.23)
CIE-LCHlch(48.48, 60.37, 291.34°)
OKLaboklab(56.4% -0.0011 -0.1609)
OKLCHoklch(56.4% 0.161 269.6)
XYZxyz(20.5098, 17.1759, 63.8498)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD3 #D3B851
analogous
#51ADD3 #516CD3 #7751D3
triadic
#516CD3 #D3516C #6CD351
tetradic
#516CD3 #D351AD #D3B851 #51D377
square
#516CD3 #D351AD #D3B851 #51D377
split-complementary
#516CD3 #D37751 #ADD351
monochromatic
#223787 #2F4BB8 #516CD3 #8295DF #B3BFEC

Accessibility & contrast

On white

4.73
#516CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#516CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD3#FFFFFF#000000##FFFFFF
##516CD31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3679D7
Deuteranopia (green-blind)
#1B6ED1
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516cd3;
/* rgb */ color: rgb(81, 108, 211);
/* oklch */ color: oklch(56.4% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#8e95e1',
    500: '#516cd3',
    950: '#000000',
  },
}
SCSS
$custom: #516cd3;
$custom-light: #8e95e1;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd3",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 227.538,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.16091,
    "h": 269.6
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#516CD3
secondary
#DACFA6
accent
#C245E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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