#516BD0#516BD0

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

Color values

HEX#516BD0
RGBrgb(81, 107, 208)
HSLhsl(228, 57%, 57%)
HSVhsv(228, 61%, 82%)
CMYKcmyk(61.1%, 48.6%, 0%, 18.4%)
CIE-LABlab(48.03, 21.57, -55.24)
CIE-LCHlch(48.03, 59.31, 291.33°)
OKLaboklab(55.99% -0.0005 -0.158)
OKLCHoklch(55.99% 0.158 269.8)
XYZxyz(20.0324, 16.8171, 61.8526)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BD0 #D0B651
analogous
#51AAD0 #516BD0 #7751D0
triadic
#516BD0 #D0516B #6BD051
tetradic
#516BD0 #D051AA #D0B651 #51D077
square
#516BD0 #D051AA #D0B651 #51D077
split-complementary
#516BD0 #D07751 #AAD051
monochromatic
#233783 #304BB3 #516BD0 #8194DD #B1BDEA

Accessibility & contrast

On white

4.81
#516BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#516BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BD0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BD0#FFFFFF#000000##FFFFFF
##516BD01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3778D4
Deuteranopia (green-blind)
#1E6DCE
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bd0;
/* rgb */ color: rgb(81, 107, 208);
/* oklch */ color: oklch(56.0% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#8d95df',
    500: '#516bd0',
    950: '#000000',
  },
}
SCSS
$custom: #516bd0;
$custom-light: #8d95df;
$custom-dark: #000000;
JSON
{
  "hex": "#516bd0",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 208
  },
  "hsl": {
    "h": 227.717,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.15803,
    "h": 269.8
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#516BD0
secondary
#D8CEA4
accent
#C147E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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