#516ECD#516ECD

#516ECD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.4% C 0.150 H 268.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#516ECD
RGBrgb(81, 110, 205)
HSLhsl(226, 55%, 56%)
HSVhsv(226, 60%, 80%)
CMYKcmyk(60.5%, 46.3%, 0%, 19.6%)
CIE-LABlab(48.64, 18.68, -52.54)
CIE-LCHlch(48.64, 55.76, 289.57°)
OKLaboklab(56.4% -0.0039 -0.15)
OKLCHoklch(56.4% 0.15 268.5)
XYZxyz(19.9850, 17.3073, 60.0332)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ECD #CDB051
analogous
#51ACCD #516ECD #7251CD
triadic
#516ECD #CD516E #6ECD51
tetradic
#516ECD #CD51AC #CDB051 #51CD72
square
#516ECD #CD51AC #CDB051 #51CD72
split-complementary
#516ECD #CD7251 #ACCD51
monochromatic
#253A7F #324FAF #516ECD #8196DB #B0BDE8

Accessibility & contrast

On white

4.71
#516ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#516ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516ECD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ECD#FFFFFF#000000##FFFFFF
##516ECD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516ecd;
/* rgb */ color: rgb(81, 110, 205);
/* oklch */ color: oklch(56.4% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#8c97dd',
    500: '#516ecd',
    950: '#000000',
  },
}
SCSS
$custom: #516ecd;
$custom-light: #8c97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516ecd",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 225.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.15009,
    "h": 268.5
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#516ECD
secondary
#D7CBA3
accent
#BC49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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