#516CD4#516CD4

#516CD4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.162 H 269.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#516CD4
RGBrgb(81, 108, 212)
HSLhsl(228, 60%, 57%)
HSVhsv(228, 62%, 83%)
CMYKcmyk(61.8%, 49.1%, 0%, 16.9%)
CIE-LABlab(48.54, 22.31, -56.70)
CIE-LCHlch(48.54, 60.93, 291.48°)
OKLaboklab(56.46% -0.001 -0.1623)
OKLCHoklch(56.46% 0.162 269.6)
XYZxyz(20.6356, 17.2262, 64.5121)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD4 #D4B951
analogous
#51ADD4 #516CD4 #7851D4
triadic
#516CD4 #D4516C #6CD451
tetradic
#516CD4 #D451AD #D4B951 #51D478
square
#516CD4 #D451AD #D4B951 #51D478
split-complementary
#516CD4 #D47851 #ADD451
monochromatic
#223789 #2E4BBA #516CD4 #8295E0 #B3BFEC

Accessibility & contrast

On white

4.72
#516CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#516CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD4#FFFFFF#000000##FFFFFF
##516CD41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D8
Deuteranopia (green-blind)
#186ED2
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516cd4;
/* rgb */ color: rgb(81, 108, 212);
/* oklch */ color: oklch(56.5% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#8e95e2',
    500: '#516cd4',
    950: '#000000',
  },
}
SCSS
$custom: #516cd4;
$custom-light: #8e95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd4",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 227.634,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.16229,
    "h": 269.6
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#516CD4
secondary
#DBD0A6
accent
#C344E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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