#516CAA#516CAA

#516CAA is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.8% C 0.103 H 265.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#516CAA
RGBrgb(81, 108, 170)
HSLhsl(222, 35%, 49%)
HSVhsv(222, 52%, 67%)
CMYKcmyk(52.4%, 36.5%, 0%, 33.3%)
CIE-LABlab(46.14, 8.27, -36.27)
CIE-LCHlch(46.14, 37.20, 282.84°)
OKLaboklab(53.85% -0.0084 -0.1024)
OKLCHoklch(53.85% 0.103 265.3)
XYZxyz(16.0092, 15.3756, 40.1466)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CAA #AA8F51
analogous
#5199AA #516CAA #6351AA
triadic
#516CAA #AA516C #6CAA51
tetradic
#516CAA #AA5199 #AA8F51 #51AA63
square
#516CAA #AA5199 #AA8F51 #51AA63
split-complementary
#516CAA #AA6351 #99AA51
monochromatic
#2A3757 #3D5281 #516CAA #798EBF #A2B1D3

Accessibility & contrast

On white

5.15
#516CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#516CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CAA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CAA#FFFFFF#000000##FFFFFF
##516CAA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#277983
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516caa;
/* rgb */ color: rgb(81, 108, 170);
/* oklch */ color: oklch(53.8% 0.103 265.3);
Tailwind
colors: {
  custom: {
    50: '#8795c3',
    500: '#516caa',
    950: '#000000',
  },
}
SCSS
$custom: #516caa;
$custom-light: #8795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516caa",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 170
  },
  "hsl": {
    "h": 221.798,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.10275,
    "h": 265.3
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#516CAA
secondary
#C0B497
accent
#AA5CCB
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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