#516CD6#516CD6

#516CD6 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.165 H 269.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516CD6
RGBrgb(81, 108, 214)
HSLhsl(228, 62%, 58%)
HSVhsv(228, 62%, 84%)
CMYKcmyk(62.1%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.67, 22.99, -57.63)
CIE-LCHlch(48.67, 62.05, 291.75°)
OKLaboklab(56.6% -0.0008 -0.165)
OKLCHoklch(56.6% 0.165 269.7)
XYZxyz(20.8894, 17.3277, 65.8490)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD6 #D6BB51
analogous
#51AED6 #516CD6 #7951D6
triadic
#516CD6 #D6516C #6CD651
tetradic
#516CD6 #D651AE #D6BB51 #51D679
square
#516CD6 #D651AE #D6BB51 #51D679
split-complementary
#516CD6 #D67951 #AED651
monochromatic
#21378C #2D4ABD #516CD6 #8396E2 #B4C0ED

Accessibility & contrast

On white

4.70
#516CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#516CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD6#FFFFFF#000000##FFFFFF
##516CD61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#337ADA
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516cd6;
/* rgb */ color: rgb(81, 108, 214);
/* oklch */ color: oklch(56.6% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#8e95e3',
    500: '#516cd6',
    950: '#000000',
  },
}
SCSS
$custom: #516cd6;
$custom-light: #8e95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd6",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 227.82,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.16504,
    "h": 269.7
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#516CD6
secondary
#DCD1A7
accent
#C443E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #516CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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