#516CD8#516CD8

#516CD8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.168 H 269.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#516CD8
RGBrgb(81, 108, 216)
HSLhsl(228, 63%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(62.5%, 50%, 0%, 15.3%)
CIE-LABlab(48.80, 23.67, -58.56)
CIE-LCHlch(48.80, 63.17, 292.01°)
OKLaboklab(56.74% -0.0006 -0.1678)
OKLCHoklch(56.74% 0.168 269.8)
XYZxyz(21.1464, 17.4305, 67.2025)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD8 #D8BD51
analogous
#51AFD8 #516CD8 #7951D8
triadic
#516CD8 #D8516C #6CD851
tetradic
#516CD8 #D851AF #D8BD51 #51D879
square
#516CD8 #D851AF #D8BD51 #51D879
split-complementary
#516CD8 #D87951 #AFD851
monochromatic
#20368F #2B49C1 #516CD8 #8396E3 #B5C0EE

Accessibility & contrast

On white

4.68
#516CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#516CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD8#FFFFFF#000000##FFFFFF
##516CD81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADC
Deuteranopia (green-blind)
#096ED6
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516cd8;
/* rgb */ color: rgb(81, 108, 216);
/* oklch */ color: oklch(56.7% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#8e95e5',
    500: '#516cd8',
    950: '#000000',
  },
}
SCSS
$custom: #516cd8;
$custom-light: #8e95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd8",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 228,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.16778,
    "h": 269.8
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#516CD8
secondary
#DDD3A8
accent
#C541E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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