#516FEE#516FEE

#516FEE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.194 H 269.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#516FEE
RGBrgb(81, 111, 238)
HSLhsl(229, 82%, 63%)
HSVhsv(229, 66%, 93%)
CMYKcmyk(66%, 53.4%, 0%, 6.7%)
CIE-LABlab(51.02, 29.34, -67.36)
CIE-LCHlch(51.02, 73.47, 293.53°)
OKLaboklab(58.88% -0.0015 -0.1936)
OKLCHoklch(58.88% 0.194 269.5)
XYZxyz(24.5051, 19.2890, 83.3041)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FEE #EED051
analogous
#51BEEE #516FEE #8151EE
triadic
#516FEE #EE516F #6FEE51
tetradic
#516FEE #EE51BE #EED051 #51EE81
square
#516FEE #EE51BE #EED051 #51EE81
split-complementary
#516FEE #EE8151 #BEEE51
monochromatic
#1130B3 #1941E9 #516FEE #899DF3 #C1CBF9

Accessibility & contrast

On white

4.32
#516FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#516FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FEE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FEE#FFFFFF#000000##000000
##516FEE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F81F2
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #516fee;
/* rgb */ color: rgb(81, 111, 238);
/* oklch */ color: oklch(58.9% 0.194 269.5);
Tailwind
colors: {
  custom: {
    50: '#9297f4',
    500: '#516fee',
    950: '#000000',
  },
}
SCSS
$custom: #516fee;
$custom-light: #9297f4;
$custom-dark: #000000;
JSON
{
  "hex": "#516fee",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 228.535,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.19364,
    "h": 269.5
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#516FEE
secondary
#EADFB1
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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