#516FEA#516FEA

#516FEA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.188 H 269.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#516FEA
RGBrgb(81, 111, 234)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 65%, 92%)
CMYKcmyk(65.4%, 52.6%, 0%, 8.2%)
CIE-LABlab(50.75, 27.97, -65.56)
CIE-LCHlch(50.75, 71.28, 293.10°)
OKLaboklab(58.59% -0.0018 -0.1883)
OKLCHoklch(58.59% 0.188 269.5)
XYZxyz(23.9240, 19.0565, 80.2434)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FEA #EACC51
analogous
#51BCEA #516FEA #8051EA
triadic
#516FEA #EA516F #6FEA51
tetradic
#516FEA #EA51BC #EACC51 #51EA80
square
#516FEA #EA51BC #EACC51 #51EA80
split-complementary
#516FEA #EA8051 #BCEA51
monochromatic
#1532AC #1B42E2 #516FEA #889CF1 #BEC9F7

Accessibility & contrast

On white

4.36
#516FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#516FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FEA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FEA#FFFFFF#000000##000000
##516FEA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #516fea;
/* rgb */ color: rgb(81, 111, 234);
/* oklch */ color: oklch(58.6% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#9197f1',
    500: '#516fea',
    950: '#000000',
  },
}
SCSS
$custom: #516fea;
$custom-light: #9197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#516fea",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 228.235,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.18834,
    "h": 269.5
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#516FEA
secondary
#E8DDAF
accent
#B20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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