#516ED1#516ED1

#516ED1 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.156 H 268.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#516ED1
RGBrgb(81, 110, 209)
HSLhsl(226, 58%, 57%)
HSVhsv(226, 61%, 82%)
CMYKcmyk(61.2%, 47.4%, 0%, 18%)
CIE-LABlab(48.89, 20.04, -54.44)
CIE-LCHlch(48.89, 58.01, 290.21°)
OKLaboklab(56.67% -0.0034 -0.1556)
OKLCHoklch(56.67% 0.156 268.8)
XYZxyz(20.4740, 17.5029, 62.6087)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ED1 #D1B451
analogous
#51AED1 #516ED1 #7451D1
triadic
#516ED1 #D1516E #6ED151
tetradic
#516ED1 #D151AE #D1B451 #51D174
square
#516ED1 #D151AE #D1B451 #51D174
split-complementary
#516ED1 #D17451 #AED151
monochromatic
#233985 #304EB5 #516ED1 #8196DE #B2BFEB

Accessibility & contrast

On white

4.67
#516ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#516ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516ED1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ED1#FFFFFF#000000##FFFFFF
##516ED11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516ed1;
/* rgb */ color: rgb(81, 110, 209);
/* oklch */ color: oklch(56.7% 0.156 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d97e0',
    500: '#516ed1',
    950: '#000000',
  },
}
SCSS
$custom: #516ed1;
$custom-light: #8d97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ed1",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 209
  },
  "hsl": {
    "h": 226.406,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.15565,
    "h": 268.8
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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