#516CEA#516CEA

#516CEA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.0% C 0.192 H 270.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#516CEA
RGBrgb(81, 108, 234)
HSLhsl(229, 78%, 62%)
HSVhsv(229, 65%, 92%)
CMYKcmyk(65.4%, 53.8%, 0%, 8.2%)
CIE-LABlab(49.99, 29.82, -66.79)
CIE-LCHlch(49.99, 73.15, 294.06°)
OKLaboklab(58.02% 0.0008 -0.192)
OKLCHoklch(58.02% 0.192 270.2)
XYZxyz(23.6021, 18.4128, 80.1362)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CEA #EACF51
analogous
#51B9EA #516CEA #8351EA
triadic
#516CEA #EA516C #6CEA51
tetradic
#516CEA #EA51B9 #EACF51 #51EA83
square
#516CEA #EA51B9 #EACF51 #51EA83
split-complementary
#516CEA #EA8351 #B9EA51
monochromatic
#152FAC #1B3EE2 #516CEA #889AF1 #BEC8F7

Accessibility & contrast

On white

4.48
#516CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#516CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CEA#FFFFFF#000000##000000
##516CEA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516cea;
/* rgb */ color: rgb(81, 108, 234);
/* oklch */ color: oklch(58.0% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#9195f2',
    500: '#516cea',
    950: '#000000',
  },
}
SCSS
$custom: #516cea;
$custom-light: #9195f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516cea",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 229.412,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.19199,
    "h": 270.2
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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