#516FCD#516FCD

#516FCD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.6% C 0.149 H 268.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#516FCD
RGBrgb(81, 111, 205)
HSLhsl(225, 55%, 56%)
HSVhsv(225, 60%, 80%)
CMYKcmyk(60.5%, 45.9%, 0%, 19.6%)
CIE-LABlab(48.91, 18.06, -52.11)
CIE-LCHlch(48.91, 55.15, 289.11°)
OKLaboklab(56.61% -0.005 -0.1488)
OKLCHoklch(56.61% 0.149 268.1)
XYZxyz(20.0935, 17.5243, 60.0694)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCD #CDAF51
analogous
#51ADCD #516FCD #7151CD
triadic
#516FCD #CD516F #6FCD51
tetradic
#516FCD #CD51AD #CDAF51 #51CD71
square
#516FCD #CD51AD #CDAF51 #51CD71
split-complementary
#516FCD #CD7151 #ADCD51
monochromatic
#253A7F #3250AF #516FCD #8196DB #B0BEE8

Accessibility & contrast

On white

4.66
#516FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#516FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCD#FFFFFF#000000##FFFFFF
##516FCD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fcd;
/* rgb */ color: rgb(81, 111, 205);
/* oklch */ color: oklch(56.6% 0.149 268.1);
Tailwind
colors: {
  custom: {
    50: '#8c97dd',
    500: '#516fcd',
    950: '#000000',
  },
}
SCSS
$custom: #516fcd;
$custom-light: #8c97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516fcd",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 225.484,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.14885,
    "h": 268.1
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#516FCD
secondary
#D7CAA3
accent
#BA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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