#516CD0#516CD0

#516CD0 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.157 H 269.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#516CD0
RGBrgb(81, 108, 208)
HSLhsl(227, 57%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.1%, 48.1%, 0%, 18.4%)
CIE-LABlab(48.29, 20.95, -54.82)
CIE-LCHlch(48.29, 58.68, 290.91°)
OKLaboklab(56.19% -0.0015 -0.1568)
OKLCHoklch(56.19% 0.157 269.5)
XYZxyz(20.1372, 17.0268, 61.8876)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CD0 #D0B551
analogous
#51ACD0 #516CD0 #7651D0
triadic
#516CD0 #D0516C #6CD051
tetradic
#516CD0 #D051AC #D0B551 #51D076
square
#516CD0 #D051AC #D0B551 #51D076
split-complementary
#516CD0 #D07651 #ACD051
monochromatic
#233883 #304CB3 #516CD0 #8195DD #B1BDEA

Accessibility & contrast

On white

4.77
#516CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#516CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CD0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CD0#FFFFFF#000000##FFFFFF
##516CD01.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3979D4
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516cd0;
/* rgb */ color: rgb(81, 108, 208);
/* oklch */ color: oklch(56.2% 0.157 269.5);
Tailwind
colors: {
  custom: {
    50: '#8d95df',
    500: '#516cd0',
    950: '#000000',
  },
}
SCSS
$custom: #516cd0;
$custom-light: #8d95df;
$custom-dark: #000000;
JSON
{
  "hex": "#516cd0",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 208
  },
  "hsl": {
    "h": 227.244,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.15677,
    "h": 269.5
  },
  "luminance": 0.17029
}

Semantic roles & 50–950 ramp

primary
#516CD0
secondary
#D8CDA4
accent
#C047E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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