#516CD1#516CD1

#516CD1 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.158 H 269.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#516CD1
RGBrgb(81, 108, 209)
HSLhsl(227, 58%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.2%, 48.3%, 0%, 18%)
CIE-LABlab(48.36, 21.29, -55.29)
CIE-LCHlch(48.36, 59.25, 291.06°)
OKLaboklab(56.26% -0.0014 -0.1582)
OKLCHoklch(56.26% 0.158 269.5)
XYZxyz(20.2606, 17.0762, 62.5376)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD1 #D1B651
analogous
#51ACD1 #516CD1 #7651D1
triadic
#516CD1 #D1516C #6CD151
tetradic
#516CD1 #D151AC #D1B651 #51D176
square
#516CD1 #D151AC #D1B651 #51D176
split-complementary
#516CD1 #D17651 #ACD151
monochromatic
#233885 #304CB5 #516CD1 #8195DE #B2BEEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516CD1#FFFFFF#000000##FFFFFF
##516CD11.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D5
Deuteranopia (green-blind)
#1F6DCF
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516cd1;
/* rgb */ color: rgb(81, 108, 209);
/* oklch */ color: oklch(56.3% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#516cd1',
    950: '#000000',
  },
}
SCSS
$custom: #516cd1;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd1",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 227.344,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.15816,
    "h": 269.5
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#516CD1
secondary
#D9CEA5
accent
#C146E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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