#516EC4#516EC4

#516EC4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.137 H 267.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516EC4
RGBrgb(81, 110, 196)
HSLhsl(225, 49%, 54%)
HSVhsv(225, 59%, 77%)
CMYKcmyk(58.7%, 43.9%, 0%, 23.1%)
CIE-LABlab(48.12, 15.63, -48.23)
CIE-LCHlch(48.12, 50.70, 287.96°)
OKLaboklab(55.83% -0.0053 -0.1374)
OKLCHoklch(55.83% 0.137 267.8)
XYZxyz(18.9297, 16.8852, 54.4755)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EC4 #C4A751
analogous
#51A7C4 #516EC4 #6E51C4
triadic
#516EC4 #C4516E #6EC451
tetradic
#516EC4 #C451A7 #C4A751 #51C46E
square
#516EC4 #C451A7 #C4A751 #51C46E
split-complementary
#516EC4 #C46E51 #A7C451
monochromatic
#273A73 #3752A1 #516EC4 #7F94D3 #ACBAE3

Accessibility & contrast

On white

4.80
#516EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#516EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EC4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EC4#FFFFFF#000000##FFFFFF
##516EC41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4778C7
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ec4;
/* rgb */ color: rgb(81, 110, 196);
/* oklch */ color: oklch(55.8% 0.137 267.8);
Tailwind
colors: {
  custom: {
    50: '#8b97d6',
    500: '#516ec4',
    950: '#000000',
  },
}
SCSS
$custom: #516ec4;
$custom-light: #8b97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516ec4",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 224.87,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.13748,
    "h": 267.8
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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