#516DD7#516DD7

#516DD7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.165 H 269.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516DD7
RGBrgb(81, 109, 215)
HSLhsl(227, 63%, 58%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(62.3%, 49.3%, 0%, 15.7%)
CIE-LABlab(49.00, 22.71, -57.68)
CIE-LCHlch(49.00, 61.98, 291.49°)
OKLaboklab(56.87% -0.0017 -0.1651)
OKLCHoklch(56.87% 0.165 269.4)
XYZxyz(21.1236, 17.5911, 66.5590)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DD7 #D7BB51
analogous
#51B0D7 #516DD7 #7851D7
triadic
#516DD7 #D7516D #6DD751
tetradic
#516DD7 #D751B0 #D7BB51 #51D778
square
#516DD7 #D751B0 #D7BB51 #51D778
split-complementary
#516DD7 #D77851 #B0D751
monochromatic
#20378D #2C4BBF #516DD7 #8397E2 #B5C1EE

Accessibility & contrast

On white

4.65
#516DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#516DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516DD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DD7#FFFFFF#000000##FFFFFF
##516DD71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347BDB
Deuteranopia (green-blind)
#146FD5
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516dd7;
/* rgb */ color: rgb(81, 109, 215);
/* oklch */ color: oklch(56.9% 0.165 269.4);
Tailwind
colors: {
  custom: {
    50: '#8e96e4',
    500: '#516dd7',
    950: '#000000',
  },
}
SCSS
$custom: #516dd7;
$custom-light: #8e96e4;
$custom-dark: #000000;
JSON
{
  "hex": "#516dd7",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 215
  },
  "hsl": {
    "h": 227.463,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.16516,
    "h": 269.4
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#516DD7
secondary
#DDD1A7
accent
#C442E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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