#516DAB#516DAB

#516DAB is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.1% C 0.103 H 264.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#516DAB
RGBrgb(81, 109, 171)
HSLhsl(221, 36%, 49%)
HSVhsv(221, 53%, 67%)
CMYKcmyk(52.6%, 36.3%, 0%, 32.9%)
CIE-LABlab(46.48, 7.97, -36.33)
CIE-LCHlch(46.48, 37.19, 282.38°)
OKLaboklab(54.12% -0.0094 -0.1025)
OKLCHoklch(54.12% 0.103 264.8)
XYZxyz(16.2102, 15.6257, 40.6820)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DAB #AB8F51
analogous
#519AAB #516DAB #6251AB
triadic
#516DAB #AB516D #6DAB51
tetradic
#516DAB #AB519A #AB8F51 #51AB62
square
#516DAB #AB519A #AB8F51 #51AB62
split-complementary
#516DAB #AB6251 #9AAB51
monochromatic
#2A3858 #3D5381 #516DAB #798FC0 #A3B2D3

Accessibility & contrast

On white

5.09
#516DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#516DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DAB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DAB#FFFFFF#000000##FFFFFF
##516DAB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#257A84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516dab;
/* rgb */ color: rgb(81, 109, 171);
/* oklch */ color: oklch(54.1% 0.103 264.8);
Tailwind
colors: {
  custom: {
    50: '#8896c4',
    500: '#516dab',
    950: '#000000',
  },
}
SCSS
$custom: #516dab;
$custom-light: #8896c4;
$custom-dark: #000000;
JSON
{
  "hex": "#516dab",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 171
  },
  "hsl": {
    "h": 221.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.10298,
    "h": 264.8
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#516DAB
secondary
#C1B497
accent
#A95CCC
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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