#516BA9#516BA9

#516BA9 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.6% C 0.103 H 265.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#516BA9
RGBrgb(81, 107, 169)
HSLhsl(222, 35%, 49%)
HSVhsv(222, 52%, 66%)
CMYKcmyk(52.1%, 36.7%, 0%, 33.7%)
CIE-LABlab(45.81, 8.56, -36.21)
CIE-LCHlch(45.81, 37.21, 283.30°)
OKLaboklab(53.57% -0.0075 -0.1022)
OKLCHoklch(53.57% 0.103 265.8)
XYZxyz(15.8101, 15.1282, 39.6153)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BA9 #A98F51
analogous
#5197A9 #516BA9 #6351A9
triadic
#516BA9 #A9516B #6BA951
tetradic
#516BA9 #A95197 #A98F51 #51A963
square
#516BA9 #A95197 #A98F51 #51A963
split-complementary
#516BA9 #A96351 #97A951
monochromatic
#293756 #3D5180 #516BA9 #798DBF #A2B0D2

Accessibility & contrast

On white

5.22
#516BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516BA9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BA9#FFFFFF#000000##FFFFFF
##516BA91.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#287882
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ba9;
/* rgb */ color: rgb(81, 107, 169);
/* oklch */ color: oklch(53.6% 0.103 265.8);
Tailwind
colors: {
  custom: {
    50: '#8795c3',
    500: '#516ba9',
    950: '#000000',
  },
}
SCSS
$custom: #516ba9;
$custom-light: #8795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516ba9",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 169
  },
  "hsl": {
    "h": 222.273,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.10251,
    "h": 265.8
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#516BA9
secondary
#C0B396
accent
#AB5DCB
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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