#516ED2#516ED2

#516ED2 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.157 H 268.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#516ED2
RGBrgb(81, 110, 210)
HSLhsl(227, 59%, 57%)
HSVhsv(227, 61%, 82%)
CMYKcmyk(61.4%, 47.6%, 0%, 17.6%)
CIE-LABlab(48.95, 20.38, -54.91)
CIE-LCHlch(48.95, 58.57, 290.36°)
OKLaboklab(56.73% -0.0032 -0.157)
OKLCHoklch(56.73% 0.157 268.8)
XYZxyz(20.5982, 17.5526, 63.2628)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ED2 #D2B551
analogous
#51AED2 #516ED2 #7551D2
triadic
#516ED2 #D2516E #6ED251
tetradic
#516ED2 #D251AE #D2B551 #51D275
square
#516ED2 #D251AE #D2B551 #51D275
split-complementary
#516ED2 #D27551 #AED251
monochromatic
#233986 #2F4EB7 #516ED2 #8297DF #B2BFEB

Accessibility & contrast

On white

4.66
#516ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#516ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516ED2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ED2#FFFFFF#000000##FFFFFF
##516ED21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7AD6
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516ed2;
/* rgb */ color: rgb(81, 110, 210);
/* oklch */ color: oklch(56.7% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d97e0',
    500: '#516ed2',
    950: '#000000',
  },
}
SCSS
$custom: #516ed2;
$custom-light: #8d97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ed2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 226.512,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.15703,
    "h": 268.8
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#516ED2
secondary
#DACEA5
accent
#BF46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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