#516AD5#516AD5

#516AD5 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.166 H 270.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516AD5
RGBrgb(81, 106, 213)
HSLhsl(229, 61%, 58%)
HSVhsv(229, 62%, 84%)
CMYKcmyk(62%, 50.2%, 0%, 16.5%)
CIE-LABlab(48.08, 23.90, -58.01)
CIE-LCHlch(48.08, 62.74, 292.39°)
OKLaboklab(56.14% 0.001 -0.1662)
OKLCHoklch(56.14% 0.166 270.4)
XYZxyz(20.5536, 16.8597, 65.1090)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AD5 #D5BC51
analogous
#51ACD5 #516AD5 #7A51D5
triadic
#516AD5 #D5516A #6AD551
tetradic
#516AD5 #D551AC #D5BC51 #51D57A
square
#516AD5 #D551AC #D5BC51 #51D57A
split-complementary
#516AD5 #D57A51 #ACD551
monochromatic
#21358A #2D48BC #516AD5 #8294E1 #B4BEED

Accessibility & contrast

On white

4.80
#516AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#516AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AD5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AD5#FFFFFF#000000##FFFFFF
##516AD51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D9
Deuteranopia (green-blind)
#096DD3
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ad5;
/* rgb */ color: rgb(81, 106, 213);
/* oklch */ color: oklch(56.1% 0.166 270.4);
Tailwind
colors: {
  custom: {
    50: '#8e94e3',
    500: '#516ad5',
    950: '#000000',
  },
}
SCSS
$custom: #516ad5;
$custom-light: #8e94e3;
$custom-dark: #000000;
JSON
{
  "hex": "#516ad5",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 213
  },
  "hsl": {
    "h": 228.636,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.16617,
    "h": 270.4
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#516AD5
secondary
#DBD1A6
accent
#C644E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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