#516BDD#516BDD

#516BDD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.9% C 0.176 H 270.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#516BDD
RGBrgb(81, 107, 221)
HSLhsl(229, 67%, 59%)
HSVhsv(229, 63%, 87%)
CMYKcmyk(63.3%, 51.6%, 0%, 13.3%)
CIE-LABlab(48.86, 26.00, -61.29)
CIE-LCHlch(48.86, 66.58, 292.99°)
OKLaboklab(56.89% 0.0008 -0.1758)
OKLCHoklch(56.89% 0.176 270.3)
XYZxyz(21.6978, 17.4833, 70.6238)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDD #DDC351
analogous
#51B1DD #516BDD #7D51DD
triadic
#516BDD #DD516B #6BDD51
tetradic
#516BDD #DD51B1 #DDC351 #51DD7D
square
#516BDD #DD51B1 #DDC351 #51DD7D
split-complementary
#516BDD #DD7D51 #B1DD51
monochromatic
#1D3496 #2745C9 #516BDD #8497E7 #B7C2F1

Accessibility & contrast

On white

4.67
#516BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#516BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516BDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BDD#FFFFFF#000000##FFFFFF
##516BDD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#267BE1
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bdd;
/* rgb */ color: rgb(81, 107, 221);
/* oklch */ color: oklch(56.9% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#8f95e8',
    500: '#516bdd',
    950: '#000000',
  },
}
SCSS
$custom: #516bdd;
$custom-light: #8f95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#516bdd",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 228.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.17582,
    "h": 270.3
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#516BDD
secondary
#E0D6AA
accent
#CA3EEA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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