#516FC4#516FC4

#516FC4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.136 H 267.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#516FC4
RGBrgb(81, 111, 196)
HSLhsl(224, 49%, 54%)
HSVhsv(224, 59%, 77%)
CMYKcmyk(58.7%, 43.4%, 0%, 23.1%)
CIE-LABlab(48.39, 15.01, -47.79)
CIE-LCHlch(48.39, 50.10, 287.44°)
OKLaboklab(56.04% -0.0064 -0.1361)
OKLCHoklch(56.04% 0.136 267.3)
XYZxyz(19.0382, 17.1022, 54.5116)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC4 #C4A651
analogous
#51A9C4 #516FC4 #6D51C4
triadic
#516FC4 #C4516F #6FC451
tetradic
#516FC4 #C451A9 #C4A651 #51C46D
square
#516FC4 #C451A9 #C4A651 #51C46D
split-complementary
#516FC4 #C46D51 #A9C451
monochromatic
#273B73 #3752A1 #516FC4 #7F95D3 #ACBBE3

Accessibility & contrast

On white

4.75
#516FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#516FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC4#FFFFFF#000000##FFFFFF
##516FC41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc4;
/* rgb */ color: rgb(81, 111, 196);
/* oklch */ color: oklch(56.0% 0.136 267.3);
Tailwind
colors: {
  custom: {
    50: '#8b97d6',
    500: '#516fc4',
    950: '#000000',
  },
}
SCSS
$custom: #516fc4;
$custom-light: #8b97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc4",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 224.348,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.13624,
    "h": 267.3
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#516FC4
secondary
#D1C4A0
accent
#B54FD9
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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