#516AC4#516AC4

#516AC4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.0% C 0.143 H 269.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#516AC4
RGBrgb(81, 106, 196)
HSLhsl(227, 49%, 54%)
HSVhsv(227, 59%, 77%)
CMYKcmyk(58.7%, 45.9%, 0%, 23.1%)
CIE-LABlab(47.03, 18.13, -49.97)
CIE-LCHlch(47.03, 53.15, 289.94°)
OKLaboklab(55% -0.001 -0.1425)
OKLCHoklch(55% 0.143 269.6)
XYZxyz(18.5078, 16.0415, 54.3349)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AC4 #C4AB51
analogous
#51A3C4 #516AC4 #7251C4
triadic
#516AC4 #C4516A #6AC451
tetradic
#516AC4 #C451A3 #C4AB51 #51C472
square
#516AC4 #C451A3 #C4AB51 #51C472
split-complementary
#516AC4 #C47251 #A3C451
monochromatic
#273873 #374EA1 #516AC4 #7F91D3 #ACB8E3

Accessibility & contrast

On white

4.99
#516AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#516AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AC4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AC4#FFFFFF#000000##FFFFFF
##516AC41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516ac4;
/* rgb */ color: rgb(81, 106, 196);
/* oklch */ color: oklch(55.0% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#8b94d6',
    500: '#516ac4',
    950: '#000000',
  },
}
SCSS
$custom: #516ac4;
$custom-light: #8b94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516ac4",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 226.957,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.14252,
    "h": 269.6
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#516AC4
secondary
#D1C6A0
accent
#BB4FD9
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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