#516AEA#516AEA

#516AEA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.6% C 0.194 H 270.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516AEA
RGBrgb(81, 106, 234)
HSLhsl(230, 78%, 62%)
HSVhsv(230, 65%, 92%)
CMYKcmyk(65.4%, 54.7%, 0%, 8.2%)
CIE-LABlab(49.49, 31.06, -67.61)
CIE-LCHlch(49.49, 74.40, 294.67°)
OKLaboklab(57.64% 0.0025 -0.1944)
OKLCHoklch(57.64% 0.194 270.7)
XYZxyz(23.3936, 17.9958, 80.0666)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AEA #EAD151
analogous
#51B7EA #516AEA #8551EA
triadic
#516AEA #EA516A #6AEA51
tetradic
#516AEA #EA51B7 #EAD151 #51EA85
square
#516AEA #EA51B7 #EAD151 #51EA85
split-complementary
#516AEA #EA8551 #B7EA51
monochromatic
#152DAC #1B3CE2 #516AEA #8899F1 #BEC8F7

Accessibility & contrast

On white

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

On black

4.60
#516AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516AEA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AEA#FFFFFF#000000##000000
##516AEA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516aea;
/* rgb */ color: rgb(81, 106, 234);
/* oklch */ color: oklch(57.6% 0.194 270.7);
Tailwind
colors: {
  custom: {
    50: '#9294f2',
    500: '#516aea',
    950: '#000000',
  },
}
SCSS
$custom: #516aea;
$custom-light: #9294f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516aea",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 230.196,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.19443,
    "h": 270.7
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#516AEA
secondary
#E8DEAF
accent
#B90BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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