#516ED9#516ED9

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

Color values

HEX#516ED9
RGBrgb(81, 110, 217)
HSLhsl(227, 64%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(62.7%, 49.3%, 0%, 14.9%)
CIE-LABlab(49.39, 22.77, -58.18)
CIE-LCHlch(49.39, 62.48, 291.37°)
OKLaboklab(57.21% -0.0024 -0.1666)
OKLCHoklch(57.21% 0.167 269.2)
XYZxyz(21.4894, 17.9091, 67.9565)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ED9 #D9BC51
analogous
#51B2D9 #516ED9 #7851D9
triadic
#516ED9 #D9516E #6ED951
tetradic
#516ED9 #D951B2 #D9BC51 #51D978
square
#516ED9 #D951B2 #D9BC51 #51D978
split-complementary
#516ED9 #D97851 #B2D951
monochromatic
#1F3790 #2A4BC2 #516ED9 #8398E4 #B5C2EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516ED9#FFFFFF#000000##000000
##516ED91.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)
#347CDD
Deuteranopia (green-blind)
#1270D7
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ed9;
/* rgb */ color: rgb(81, 110, 217);
/* oklch */ color: oklch(57.2% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#8e97e5',
    500: '#516ed9',
    950: '#000000',
  },
}
SCSS
$custom: #516ed9;
$custom-light: #8e97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516ed9",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 227.206,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.16666,
    "h": 269.2
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#516ED9
secondary
#DED2A8
accent
#C441E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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