#516CBD#516CBD

#516CBD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.130 H 268.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#516CBD
RGBrgb(81, 108, 189)
HSLhsl(225, 45%, 53%)
HSVhsv(225, 57%, 74%)
CMYKcmyk(57.1%, 42.9%, 0%, 25.9%)
CIE-LABlab(47.17, 14.53, -45.71)
CIE-LCHlch(47.17, 47.96, 287.64°)
OKLaboklab(54.97% -0.0044 -0.13)
OKLCHoklch(54.97% 0.13 268.1)
XYZxyz(17.9381, 16.1472, 50.3057)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBD #BDA251
analogous
#51A2BD #516CBD #6C51BD
triadic
#516CBD #BD516C #6CBD51
tetradic
#516CBD #BD51A2 #BDA251 #51BD6C
square
#516CBD #BD51A2 #BDA251 #51BD6C
split-complementary
#516CBD #BD6C51 #A2BD51
monochromatic
#29396B #395197 #516CBD #7D91CE #AAB7DF

Accessibility & contrast

On white

4.96
#516CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#516CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CBD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CBD#FFFFFF#000000##FFFFFF
##516CBD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#037E8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cbd;
/* rgb */ color: rgb(81, 108, 189);
/* oklch */ color: oklch(55.0% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#8a95d1',
    500: '#516cbd',
    950: '#000000',
  },
}
SCSS
$custom: #516cbd;
$custom-light: #8a95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#516cbd",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 225,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.13006,
    "h": 268.1
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#516CBD
secondary
#CCC19E
accent
#B453D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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