#516EAA#516EAA

#516EAA is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.3% C 0.100 H 263.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#516EAA
RGBrgb(81, 110, 170)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 52%, 67%)
CMYKcmyk(52.4%, 35.3%, 0%, 33.3%)
CIE-LABlab(46.71, 7.03, -35.37)
CIE-LCHlch(46.71, 36.06, 281.24°)
OKLaboklab(54.29% -0.0109 -0.0998)
OKLCHoklch(54.29% 0.1 263.8)
XYZxyz(16.2225, 15.8023, 40.2177)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EAA #AA8D51
analogous
#519BAA #516EAA #6151AA
triadic
#516EAA #AA516E #6EAA51
tetradic
#516EAA #AA519B #AA8D51 #51AA61
square
#516EAA #AA519B #AA8D51 #51AA61
split-complementary
#516EAA #AA6151 #9BAA51
monochromatic
#2A3857 #3D5381 #516EAA #7990BF #A2B2D3

Accessibility & contrast

On white

5.05
#516EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#516EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EAA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EAA#FFFFFF#000000##FFFFFF
##516EAA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#267B84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516eaa;
/* rgb */ color: rgb(81, 110, 170);
/* oklch */ color: oklch(54.3% 0.100 263.8);
Tailwind
colors: {
  custom: {
    50: '#8797c3',
    500: '#516eaa',
    950: '#000000',
  },
}
SCSS
$custom: #516eaa;
$custom-light: #8797c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516eaa",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 220.449,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.10036,
    "h": 263.8
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#516EAA
secondary
#C0B397
accent
#A75CCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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