#516CD2#516CD2

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

Color values

HEX#516CD2
RGBrgb(81, 108, 210)
HSLhsl(227, 59%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.4%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.42, 21.63, -55.76)
CIE-LCHlch(48.42, 59.81, 291.20°)
OKLaboklab(56.33% -0.0012 -0.1595)
OKLCHoklch(56.33% 0.16 269.6)
XYZxyz(20.3848, 17.1259, 63.1917)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD2 #D2B751
analogous
#51ACD2 #516CD2 #7751D2
triadic
#516CD2 #D2516C #6CD251
tetradic
#516CD2 #D251AC #D2B751 #51D277
square
#516CD2 #D251AC #D2B751 #51D277
split-complementary
#516CD2 #D27751 #ACD251
monochromatic
#233786 #2F4CB7 #516CD2 #8295DF #B2BEEB

Accessibility & contrast

On white

4.75
#516CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#516CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD2#FFFFFF#000000##FFFFFF
##516CD21.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#1D6ED0
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516cd2;
/* rgb */ color: rgb(81, 108, 210);
/* oklch */ color: oklch(56.3% 0.160 269.6);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#516cd2',
    950: '#000000',
  },
}
SCSS
$custom: #516cd2;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd2",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 227.442,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.15953,
    "h": 269.6
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#516CD2
secondary
#DACFA5
accent
#C146E2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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