#516DD1#516DD1

#516DD1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.157 H 269.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#516DD1
RGBrgb(81, 109, 209)
HSLhsl(227, 58%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.2%, 47.8%, 0%, 18%)
CIE-LABlab(48.62, 20.66, -54.86)
CIE-LCHlch(48.62, 58.63, 290.64°)
OKLaboklab(56.46% -0.0024 -0.1569)
OKLCHoklch(56.46% 0.157 269.1)
XYZxyz(20.3667, 17.2883, 62.5729)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DD1 #D1B551
analogous
#51ADD1 #516DD1 #7551D1
triadic
#516DD1 #D1516D #6DD151
tetradic
#516DD1 #D151AD #D1B551 #51D175
square
#516DD1 #D151AD #D1B551 #51D175
split-complementary
#516DD1 #D17551 #ADD151
monochromatic
#233885 #304DB5 #516DD1 #8196DE #B2BEEB

Accessibility & contrast

On white

4.71
#516DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#516DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DD1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DD1#FFFFFF#000000##FFFFFF
##516DD11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD5
Deuteranopia (green-blind)
#236ECF
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dd1;
/* rgb */ color: rgb(81, 109, 209);
/* oklch */ color: oklch(56.5% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d96e0',
    500: '#516dd1',
    950: '#000000',
  },
}
SCSS
$custom: #516dd1;
$custom-light: #8d96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516dd1",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 209
  },
  "hsl": {
    "h": 226.875,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.1569,
    "h": 269.1
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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