#516DCC#516DCC

#516DCC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.150 H 268.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#516DCC
RGBrgb(81, 109, 204)
HSLhsl(226, 55%, 56%)
HSVhsv(226, 60%, 80%)
CMYKcmyk(60.3%, 46.6%, 0%, 20%)
CIE-LABlab(48.32, 18.96, -52.50)
CIE-LCHlch(48.32, 55.82, 289.86°)
OKLaboklab(56.13% -0.003 -0.1499)
OKLCHoklch(56.13% 0.15 268.8)
XYZxyz(19.7574, 17.0446, 59.3638)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCC #CCB051
analogous
#51ABCC #516DCC #7251CC
triadic
#516DCC #CC516D #6DCC51
tetradic
#516DCC #CC51AB #CCB051 #51CC72
square
#516DCC #CC51AB #CCB051 #51CC72
split-complementary
#516DCC #CC7251 #ABCC51
monochromatic
#25397E #334FAD #516DCC #8095DA #B0BCE8

Accessibility & contrast

On white

4.76
#516DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#516DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCC#FFFFFF#000000##FFFFFF
##516DCC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D0
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dcc;
/* rgb */ color: rgb(81, 109, 204);
/* oklch */ color: oklch(56.1% 0.150 268.8);
Tailwind
colors: {
  custom: {
    50: '#8c96dc',
    500: '#516dcc',
    950: '#000000',
  },
}
SCSS
$custom: #516dcc;
$custom-light: #8c96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#516dcc",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 226.341,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.14995,
    "h": 268.8
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#516DCC
secondary
#D6CAA3
accent
#BC4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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