#516FD4#516FD4

#516FD4 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.159 H 268.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#516FD4
RGBrgb(81, 111, 212)
HSLhsl(226, 60%, 57%)
HSVhsv(226, 62%, 83%)
CMYKcmyk(61.8%, 47.6%, 0%, 16.9%)
CIE-LABlab(49.34, 20.44, -55.42)
CIE-LCHlch(49.34, 59.07, 290.24°)
OKLaboklab(57.07% -0.004 -0.1585)
OKLCHoklch(57.07% 0.159 268.6)
XYZxyz(20.9574, 17.8699, 64.6194)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD4 #D4B651
analogous
#51B0D4 #516FD4 #7551D4
triadic
#516FD4 #D4516F #6FD451
tetradic
#516FD4 #D451B0 #D4B651 #51D475
square
#516FD4 #D451B0 #D4B651 #51D475
split-complementary
#516FD4 #D47551 #B0D451
monochromatic
#223989 #2E4EBA #516FD4 #8298E0 #B3C0EC

Accessibility & contrast

On white

4.59
#516FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#516FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FD4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD4#FFFFFF#000000##FFFFFF
##516FD41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD8
Deuteranopia (green-blind)
#2370D2
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516fd4;
/* rgb */ color: rgb(81, 111, 212);
/* oklch */ color: oklch(57.1% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#8e97e2',
    500: '#516fd4',
    950: '#000000',
  },
}
SCSS
$custom: #516fd4;
$custom-light: #8e97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd4",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 226.26,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.15855,
    "h": 268.6
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#516FD4
secondary
#DBCFA6
accent
#BF44E4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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