#516AE2#516AE2

#516AE2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.1% C 0.184 H 270.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#516AE2
RGBrgb(81, 106, 226)
HSLhsl(230, 71%, 60%)
HSVhsv(230, 64%, 89%)
CMYKcmyk(64.2%, 53.1%, 0%, 11.4%)
CIE-LABlab(48.94, 28.33, -63.99)
CIE-LCHlch(48.94, 69.98, 293.88°)
OKLaboklab(57.06% 0.0021 -0.1838)
OKLCHoklch(57.06% 0.184 270.7)
XYZxyz(22.2702, 17.5464, 74.1499)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AE2 #E2C951
analogous
#51B3E2 #516AE2 #8051E2
triadic
#516AE2 #E2516A #6AE251
tetradic
#516AE2 #E251B3 #E2C951 #51E280
square
#516AE2 #E251B3 #E2C951 #51E280
split-complementary
#516AE2 #E28051 #B3E251
monochromatic
#1A319E #2341D3 #516AE2 #8597EB #BAC4F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516AE2#FFFFFF#000000##FFFFFF
##516AE21.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)
#177BE6
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516ae2;
/* rgb */ color: rgb(81, 106, 226);
/* oklch */ color: oklch(57.1% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#9094ec',
    500: '#516ae2',
    950: '#000000',
  },
}
SCSS
$custom: #516ae2;
$custom-light: #9094ec;
$custom-dark: #000000;
JSON
{
  "hex": "#516ae2",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 229.655,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.18379,
    "h": 270.7
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#516AE2
secondary
#E3DAAC
accent
#B212D3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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