#516AE7#516AE7

#516AE7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.190 H 270.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516AE7
RGBrgb(81, 106, 231)
HSLhsl(230, 76%, 61%)
HSVhsv(230, 65%, 91%)
CMYKcmyk(64.9%, 54.1%, 0%, 9.4%)
CIE-LABlab(49.28, 30.03, -66.26)
CIE-LCHlch(49.28, 72.75, 294.38°)
OKLaboklab(57.42% 0.0024 -0.1904)
OKLCHoklch(57.42% 0.19 270.7)
XYZxyz(22.9663, 17.8248, 77.8160)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AE7 #E7CE51
analogous
#51B5E7 #516AE7 #8351E7
triadic
#516AE7 #E7516A #6AE751
tetradic
#516AE7 #E751B5 #E7CE51 #51E783
square
#516AE7 #E751B5 #E7CE51 #51E783
split-complementary
#516AE7 #E78351 #B5E751
monochromatic
#172FA7 #1E3EDC #516AE7 #8798EE #BDC6F6

Accessibility & contrast

On white

4.60
#516AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#516AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516AE7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AE7#FFFFFF#000000##FFFFFF
##516AE71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#027CEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ae7;
/* rgb */ color: rgb(81, 106, 231);
/* oklch */ color: oklch(57.4% 0.190 270.7);
Tailwind
colors: {
  custom: {
    50: '#9194ef',
    500: '#516ae7',
    950: '#000000',
  },
}
SCSS
$custom: #516ae7;
$custom-light: #9194ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516ae7",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 230,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.19045,
    "h": 270.7
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#516AE7
secondary
#E6DDAE
accent
#B60ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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