#516BCD#516BCD

#516BCD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.8% C 0.154 H 269.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#516BCD
RGBrgb(81, 107, 205)
HSLhsl(227, 55%, 56%)
HSVhsv(227, 60%, 80%)
CMYKcmyk(60.5%, 47.8%, 0%, 19.6%)
CIE-LABlab(47.84, 20.55, -53.83)
CIE-LCHlch(47.84, 57.62, 290.90°)
OKLaboklab(55.79% -0.0008 -0.1539)
OKLCHoklch(55.79% 0.154 269.7)
XYZxyz(19.6668, 16.6709, 59.9272)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BCD #CDB351
analogous
#51A9CD #516BCD #7551CD
triadic
#516BCD #CD516B #6BCD51
tetradic
#516BCD #CD51A9 #CDB351 #51CD75
square
#516BCD #CD51A9 #CDB351 #51CD75
split-complementary
#516BCD #CD7551 #A9CD51
monochromatic
#25387F #324CAF #516BCD #8193DB #B0BCE8

Accessibility & contrast

On white

4.84
#516BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#516BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BCD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BCD#FFFFFF#000000##FFFFFF
##516BCD1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#246CCB
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bcd;
/* rgb */ color: rgb(81, 107, 205);
/* oklch */ color: oklch(55.8% 0.154 269.7);
Tailwind
colors: {
  custom: {
    50: '#8d95dd',
    500: '#516bcd',
    950: '#000000',
  },
}
SCSS
$custom: #516bcd;
$custom-light: #8d95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516bcd",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 227.419,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.15386,
    "h": 269.7
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#516BCD
secondary
#D7CCA3
accent
#BF49DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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