#516BDC#516BDC

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

Color values

HEX#516BDC
RGBrgb(81, 107, 220)
HSLhsl(229, 67%, 59%)
HSVhsv(229, 63%, 86%)
CMYKcmyk(63.2%, 51.4%, 0%, 13.7%)
CIE-LABlab(48.80, 25.66, -60.83)
CIE-LCHlch(48.80, 66.02, 292.87°)
OKLaboklab(56.82% 0.0007 -0.1745)
OKLCHoklch(56.82% 0.174 270.2)
XYZxyz(21.5649, 17.4301, 69.9242)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDC #DCC251
analogous
#51B1DC #516BDC #7D51DC
triadic
#516BDC #DC516B #6BDC51
tetradic
#516BDC #DC51B1 #DCC251 #51DC7D
square
#516BDC #DC51B1 #DCC251 #51DC7D
split-complementary
#516BDC #DC7D51 #B1DC51
monochromatic
#1E3495 #2846C8 #516BDC #8496E6 #B7C2F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516BDC#FFFFFF#000000##FFFFFF
##516BDC1.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)
#277AE0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bdc;
/* rgb */ color: rgb(81, 107, 220);
/* oklch */ color: oklch(56.8% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#8f95e8',
    500: '#516bdc',
    950: '#000000',
  },
}
SCSS
$custom: #516bdc;
$custom-light: #8f95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#516bdc",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 228.777,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.17447,
    "h": 270.2
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#516BDC
secondary
#E0D5A9
accent
#C93EE9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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