#516DA2#516DA2

#516DA2 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.6% C 0.090 H 262.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#516DA2
RGBrgb(81, 109, 162)
HSLhsl(219, 33%, 48%)
HSVhsv(219, 50%, 64%)
CMYKcmyk(50%, 32.7%, 0%, 36.5%)
CIE-LABlab(46.03, 5.08, -31.75)
CIE-LCHlch(46.03, 32.15, 279.10°)
OKLaboklab(53.63% -0.0118 -0.0892)
OKLCHoklch(53.63% 0.09 262.5)
XYZxyz(15.3814, 15.2942, 36.3170)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DA2 #A28651
analogous
#5195A2 #516DA2 #5D51A2
triadic
#516DA2 #A2516D #6DA251
tetradic
#516DA2 #A25195 #A28651 #51A25D
square
#516DA2 #A25195 #A28651 #51A25D
split-complementary
#516DA2 #A25D51 #95A251
monochromatic
#283650 #3D5279 #516DA2 #768EBA #9FAFCF

Accessibility & contrast

On white

5.17
#516DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#516DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DA2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DA2#FFFFFF#000000##FFFFFF
##516DA21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#2E7880
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516da2;
/* rgb */ color: rgb(81, 109, 162);
/* oklch */ color: oklch(53.6% 0.090 262.5);
Tailwind
colors: {
  custom: {
    50: '#8696be',
    500: '#516da2',
    950: '#000000',
  },
}
SCSS
$custom: #516da2;
$custom-light: #8696be;
$custom-dark: #000000;
JSON
{
  "hex": "#516da2",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 219.259,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53632,
    "c": 0.09002,
    "h": 262.5
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#516DA2
secondary
#BCAE93
accent
#A45EC9
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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