#516DDC#516DDC

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

Color values

HEX#516DDC
RGBrgb(81, 109, 220)
HSLhsl(228, 67%, 59%)
HSVhsv(228, 63%, 86%)
CMYKcmyk(63.2%, 50.5%, 0%, 13.7%)
CIE-LABlab(49.32, 24.41, -60.00)
CIE-LCHlch(49.32, 64.77, 292.14°)
OKLaboklab(57.21% -0.0011 -0.172)
OKLCHoklch(57.21% 0.172 269.6)
XYZxyz(21.7759, 17.8520, 69.9945)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DDC #DCC051
analogous
#51B2DC #516DDC #7B51DC
triadic
#516DDC #DC516D #6DDC51
tetradic
#516DDC #DC51B2 #DCC051 #51DC7B
square
#516DDC #DC51B2 #DCC051 #51DC7B
split-complementary
#516DDC #DC7B51 #B2DC51
monochromatic
#1E3695 #2848C8 #516DDC #8498E6 #B7C3F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516DDC#FFFFFF#000000##FFFFFF
##516DDC1.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)
#2E7CE0
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ddc;
/* rgb */ color: rgb(81, 109, 220);
/* oklch */ color: oklch(57.2% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#8f96e7',
    500: '#516ddc',
    950: '#000000',
  },
}
SCSS
$custom: #516ddc;
$custom-light: #8f96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516ddc",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 220
  },
  "hsl": {
    "h": 227.914,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.17198,
    "h": 269.6
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#516DDC
secondary
#E0D5A9
accent
#C73EE9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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