#516DCD#516DCD

#516DCD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.151 H 268.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#516DCD
RGBrgb(81, 109, 205)
HSLhsl(226, 55%, 56%)
HSVhsv(226, 60%, 80%)
CMYKcmyk(60.5%, 46.8%, 0%, 19.6%)
CIE-LABlab(48.38, 19.30, -52.97)
CIE-LCHlch(48.38, 56.38, 290.02°)
OKLaboklab(56.2% -0.0029 -0.1513)
OKLCHoklch(56.2% 0.151 268.9)
XYZxyz(19.8777, 17.0927, 59.9975)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCD #CDB151
analogous
#51ABCD #516DCD #7351CD
triadic
#516DCD #CD516D #6DCD51
tetradic
#516DCD #CD51AB #CDB151 #51CD73
square
#516DCD #CD51AB #CDB151 #51CD73
split-complementary
#516DCD #CD7351 #ABCD51
monochromatic
#25397F #324EAF #516DCD #8195DB #B0BDE8

Accessibility & contrast

On white

4.75
#516DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#516DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCD#FFFFFF#000000##FFFFFF
##516DCD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dcd;
/* rgb */ color: rgb(81, 109, 205);
/* oklch */ color: oklch(56.2% 0.151 268.9);
Tailwind
colors: {
  custom: {
    50: '#8c96dd',
    500: '#516dcd',
    950: '#000000',
  },
}
SCSS
$custom: #516dcd;
$custom-light: #8c96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516dcd",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 226.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.15135,
    "h": 268.9
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#516DCD
secondary
#D7CBA3
accent
#BD49DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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