#516ED8#516ED8

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

Color values

HEX#516ED8
RGBrgb(81, 110, 216)
HSLhsl(227, 63%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(62.5%, 49.1%, 0%, 15.3%)
CIE-LABlab(49.32, 22.43, -57.72)
CIE-LCHlch(49.32, 61.92, 291.23°)
OKLaboklab(57.14% -0.0025 -0.1653)
OKLCHoklch(57.14% 0.165 269.1)
XYZxyz(21.3597, 17.8572, 67.2736)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ED8 #D8BB51
analogous
#51B1D8 #516ED8 #7751D8
triadic
#516ED8 #D8516E #6ED851
tetradic
#516ED8 #D851B1 #D8BB51 #51D877
square
#516ED8 #D851B1 #D8BB51 #51D877
split-complementary
#516ED8 #D87751 #B1D851
monochromatic
#20388F #2B4BC1 #516ED8 #8398E3 #B5C1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516ED8#FFFFFF#000000##FFFFFF
##516ED81.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)
#357CDC
Deuteranopia (green-blind)
#166FD6
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ed8;
/* rgb */ color: rgb(81, 110, 216);
/* oklch */ color: oklch(57.1% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#8e97e5',
    500: '#516ed8',
    950: '#000000',
  },
}
SCSS
$custom: #516ed8;
$custom-light: #8e97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516ed8",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 227.111,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.16529,
    "h": 269.1
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#516ED8
secondary
#DDD2A8
accent
#C341E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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