#516DDE#516DDE

#516DDE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.4% C 0.175 H 269.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#516DDE
RGBrgb(81, 109, 222)
HSLhsl(228, 68%, 59%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(63.5%, 50.9%, 0%, 12.9%)
CIE-LABlab(49.45, 25.10, -60.92)
CIE-LCHlch(49.45, 65.89, 292.39°)
OKLaboklab(57.35% -0.001 -0.1747)
OKLCHoklch(57.35% 0.175 269.7)
XYZxyz(22.0423, 17.9586, 71.3978)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DDE #DEC251
analogous
#51B4DE #516DDE #7C51DE
triadic
#516DDE #DE516D #6DDE51
tetradic
#516DDE #DE51B4 #DEC251 #51DE7C
square
#516DDE #DE51B4 #DEC251 #51DE7C
split-complementary
#516DDE #DE7C51 #B4DE51
monochromatic
#1D3598 #2747CB #516DDE #8498E8 #B8C3F2

Accessibility & contrast

On white

4.57
#516DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#516DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DDE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DDE#FFFFFF#000000##000000
##516DDE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE2
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516dde;
/* rgb */ color: rgb(81, 109, 222);
/* oklch */ color: oklch(57.4% 0.175 269.7);
Tailwind
colors: {
  custom: {
    50: '#8f96e9',
    500: '#516dde',
    950: '#000000',
  },
}
SCSS
$custom: #516dde;
$custom-light: #8f96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#516dde",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 228.085,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.17469,
    "h": 269.7
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#516DDE
secondary
#E1D6AA
accent
#C83DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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