#516FD5#516FD5

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

Color values

HEX#516FD5
RGBrgb(81, 111, 213)
HSLhsl(226, 61%, 58%)
HSVhsv(226, 62%, 84%)
CMYKcmyk(62%, 47.9%, 0%, 16.5%)
CIE-LABlab(49.40, 20.78, -55.89)
CIE-LCHlch(49.40, 59.63, 290.39°)
OKLaboklab(57.14% -0.0038 -0.1599)
OKLCHoklch(57.14% 0.16 268.6)
XYZxyz(21.0839, 17.9205, 65.2858)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD5 #D5B751
analogous
#51B1D5 #516FD5 #7551D5
triadic
#516FD5 #D5516F #6FD551
tetradic
#516FD5 #D551B1 #D5B751 #51D575
square
#516FD5 #D551B1 #D5B751 #51D575
split-complementary
#516FD5 #D57551 #B1D551
monochromatic
#21398A #2D4EBC #516FD5 #8298E1 #B4C1ED

Accessibility & contrast

On white

4.58
#516FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#516FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FD5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD5#FFFFFF#000000##000000
##516FD51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516fd5;
/* rgb */ color: rgb(81, 111, 213);
/* oklch */ color: oklch(57.1% 0.160 268.6);
Tailwind
colors: {
  custom: {
    50: '#8e97e2',
    500: '#516fd5',
    950: '#000000',
  },
}
SCSS
$custom: #516fd5;
$custom-light: #8e97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd5",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 226.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.15993,
    "h": 268.6
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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