#516FD1#516FD1

#516FD1 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.154 H 268.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#516FD1
RGBrgb(81, 111, 209)
HSLhsl(226, 58%, 57%)
HSVhsv(226, 61%, 82%)
CMYKcmyk(61.2%, 46.9%, 0%, 18%)
CIE-LABlab(49.15, 19.42, -54.01)
CIE-LCHlch(49.15, 57.39, 289.77°)
OKLaboklab(56.87% -0.0044 -0.1543)
OKLCHoklch(56.87% 0.154 268.4)
XYZxyz(20.5825, 17.7199, 62.6449)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD1 #D1B351
analogous
#51AFD1 #516FD1 #7351D1
triadic
#516FD1 #D1516F #6FD151
tetradic
#516FD1 #D151AF #D1B351 #51D173
square
#516FD1 #D151AF #D1B351 #51D173
split-complementary
#516FD1 #D17351 #AFD151
monochromatic
#233A85 #304FB5 #516FD1 #8197DE #B2BFEB

Accessibility & contrast

On white

4.62
#516FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#516FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FD1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD1#FFFFFF#000000##FFFFFF
##516FD11.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7BD5
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516fd1;
/* rgb */ color: rgb(81, 111, 209);
/* oklch */ color: oklch(56.9% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#8d97e0',
    500: '#516fd1',
    950: '#000000',
  },
}
SCSS
$custom: #516fd1;
$custom-light: #8d97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd1",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 209
  },
  "hsl": {
    "h": 225.938,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.1544,
    "h": 268.4
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#516FD1
secondary
#D9CDA5
accent
#BD46E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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