#516CCD#516CCD

#516CCD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.153 H 269.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516CCD
RGBrgb(81, 108, 205)
HSLhsl(227, 55%, 56%)
HSVhsv(227, 60%, 80%)
CMYKcmyk(60.5%, 47.3%, 0%, 19.6%)
CIE-LABlab(48.11, 19.93, -53.40)
CIE-LCHlch(48.11, 57.00, 290.46°)
OKLaboklab(55.99% -0.0019 -0.1526)
OKLCHoklch(55.99% 0.153 269.3)
XYZxyz(19.7716, 16.8806, 59.9621)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CCD #CDB251
analogous
#51AACD #516CCD #7451CD
triadic
#516CCD #CD516C #6CCD51
tetradic
#516CCD #CD51AA #CDB251 #51CD74
square
#516CCD #CD51AA #CDB251 #51CD74
split-complementary
#516CCD #CD7451 #AACD51
monochromatic
#25387F #324DAF #516CCD #8194DB #B0BCE8

Accessibility & contrast

On white

4.80
#516CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#516CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CCD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CCD#FFFFFF#000000##FFFFFF
##516CCD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ccd;
/* rgb */ color: rgb(81, 108, 205);
/* oklch */ color: oklch(56.0% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#8d95dd',
    500: '#516ccd',
    950: '#000000',
  },
}
SCSS
$custom: #516ccd;
$custom-light: #8d95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516ccd",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 226.935,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.1526,
    "h": 269.3
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#516CCD
secondary
#D7CBA3
accent
#BE49DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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