#516BAA#516BAA

#516BAA is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.6% C 0.104 H 266.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#516BAA
RGBrgb(81, 107, 170)
HSLhsl(222, 35%, 49%)
HSVhsv(222, 52%, 67%)
CMYKcmyk(52.4%, 37.1%, 0%, 33.3%)
CIE-LABlab(45.86, 8.89, -36.72)
CIE-LCHlch(45.86, 37.78, 283.60°)
OKLaboklab(53.63% -0.0072 -0.1037)
OKLCHoklch(53.63% 0.104 266)
XYZxyz(15.9043, 15.1659, 40.1116)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BAA #AA9051
analogous
#5198AA #516BAA #6451AA
triadic
#516BAA #AA516B #6BAA51
tetradic
#516BAA #AA5198 #AA9051 #51AA64
square
#516BAA #AA5198 #AA9051 #51AA64
split-complementary
#516BAA #AA6451 #98AA51
monochromatic
#2A3757 #3D5181 #516BAA #798EBF #A2B1D3

Accessibility & contrast

On white

5.21
#516BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#516BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BAA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BAA#FFFFFF#000000##FFFFFF
##516BAA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#277982
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516baa;
/* rgb */ color: rgb(81, 107, 170);
/* oklch */ color: oklch(53.6% 0.104 266.0);
Tailwind
colors: {
  custom: {
    50: '#8795c3',
    500: '#516baa',
    950: '#000000',
  },
}
SCSS
$custom: #516baa;
$custom-light: #8795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516baa",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 170
  },
  "hsl": {
    "h": 222.472,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.10396,
    "h": 266
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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