#516DCB#516DCB

#516DCB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.149 H 268.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#516DCB
RGBrgb(81, 109, 203)
HSLhsl(226, 54%, 56%)
HSVhsv(226, 60%, 80%)
CMYKcmyk(60.1%, 46.3%, 0%, 20.4%)
CIE-LABlab(48.26, 18.62, -52.02)
CIE-LCHlch(48.26, 55.25, 289.70°)
OKLaboklab(56.07% -0.0032 -0.1485)
OKLCHoklch(56.07% 0.149 268.8)
XYZxyz(19.6378, 16.9968, 58.7342)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCB #CBAF51
analogous
#51AACB #516DCB #7251CB
triadic
#516DCB #CB516D #6DCB51
tetradic
#516DCB #CB51AA #CBAF51 #51CB72
square
#516DCB #CB51AA #CBAF51 #51CB72
split-complementary
#516DCB #CB7251 #AACB51
monochromatic
#25397C #334FAC #516DCB #8095D9 #AFBCE7

Accessibility & contrast

On white

4.77
#516DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#516DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCB#FFFFFF#000000##FFFFFF
##516DCB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dcb;
/* rgb */ color: rgb(81, 109, 203);
/* oklch */ color: oklch(56.1% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#8c96db',
    500: '#516dcb',
    950: '#000000',
  },
}
SCSS
$custom: #516dcb;
$custom-light: #8c96db;
$custom-dark: #000000;
JSON
{
  "hex": "#516dcb",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 226.23,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.14856,
    "h": 268.8
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#516DCB
secondary
#D5CAA3
accent
#BC4ADD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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