#516CA2#516CA2

#516CA2 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.4% C 0.091 H 263.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#516CA2
RGBrgb(81, 108, 162)
HSLhsl(220, 33%, 48%)
HSVhsv(220, 50%, 64%)
CMYKcmyk(50%, 33.3%, 0%, 36.5%)
CIE-LABlab(45.75, 5.70, -32.20)
CIE-LCHlch(45.75, 32.70, 280.03°)
OKLaboklab(53.41% -0.0105 -0.0905)
OKLCHoklch(53.41% 0.091 263.4)
XYZxyz(15.2753, 15.0821, 36.2816)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA2 #A28751
analogous
#5194A2 #516CA2 #5F51A2
triadic
#516CA2 #A2516C #6CA251
tetradic
#516CA2 #A25194 #A28751 #51A25F
square
#516CA2 #A25194 #A28751 #51A25F
split-complementary
#516CA2 #A25F51 #94A251
monochromatic
#283650 #3D5179 #516CA2 #768DBA #9FAFCF

Accessibility & contrast

On white

5.23
#516CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#516CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA2#FFFFFF#000000##FFFFFF
##516CA21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#2E787F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ca2;
/* rgb */ color: rgb(81, 108, 162);
/* oklch */ color: oklch(53.4% 0.091 263.4);
Tailwind
colors: {
  custom: {
    50: '#8695be',
    500: '#516ca2',
    950: '#000000',
  },
}
SCSS
$custom: #516ca2;
$custom-light: #8695be;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca2",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 220,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.09116,
    "h": 263.4
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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