#516EDC#516EDC

#516EDC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.171 H 269.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#516EDC
RGBrgb(81, 110, 220)
HSLhsl(227, 67%, 59%)
HSVhsv(227, 63%, 86%)
CMYKcmyk(63.2%, 50%, 0%, 13.7%)
CIE-LABlab(49.58, 23.79, -59.58)
CIE-LCHlch(49.58, 64.15, 291.77°)
OKLaboklab(57.41% -0.0021 -0.1707)
OKLCHoklch(57.41% 0.171 269.3)
XYZxyz(21.8832, 18.0666, 70.0303)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EDC #DCBF51
analogous
#51B4DC #516EDC #7A51DC
triadic
#516EDC #DC516E #6EDC51
tetradic
#516EDC #DC51B4 #DCBF51 #51DC7A
square
#516EDC #DC51B4 #DCBF51 #51DC7A
split-complementary
#516EDC #DC7A51 #B4DC51
monochromatic
#1E3795 #2849C8 #516EDC #8498E6 #B7C3F0

Accessibility & contrast

On white

4.55
#516EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#516EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EDC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EDC#FFFFFF#000000##000000
##516EDC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#0470DA
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516edc;
/* rgb */ color: rgb(81, 110, 220);
/* oklch */ color: oklch(57.4% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#8f97e7',
    500: '#516edc',
    950: '#000000',
  },
}
SCSS
$custom: #516edc;
$custom-light: #8f97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516edc",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 227.482,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.17074,
    "h": 269.3
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#516EDC
secondary
#E0D4A9
accent
#C63EE9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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