#516AE4#516AE4

#516AE4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.2% C 0.186 H 270.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#516AE4
RGBrgb(81, 106, 228)
HSLhsl(230, 73%, 61%)
HSVhsv(230, 64%, 89%)
CMYKcmyk(64.5%, 53.5%, 0%, 10.6%)
CIE-LABlab(49.08, 29.01, -64.90)
CIE-LCHlch(49.08, 71.09, 294.08°)
OKLaboklab(57.2% 0.0022 -0.1864)
OKLCHoklch(57.2% 0.186 270.7)
XYZxyz(22.5462, 17.6568, 75.6037)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AE4 #E4CB51
analogous
#51B3E4 #516AE4 #8151E4
triadic
#516AE4 #E4516A #6AE451
tetradic
#516AE4 #E451B3 #E4CB51 #51E481
square
#516AE4 #E451B3 #E4CB51 #51E481
split-complementary
#516AE4 #E48151 #B3E451
monochromatic
#1930A2 #2140D7 #516AE4 #8697EC #BBC5F4

Accessibility & contrast

On white

4.63
#516AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#516AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516AE4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AE4#FFFFFF#000000##FFFFFF
##516AE41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#107BE8
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ae4;
/* rgb */ color: rgb(81, 106, 228);
/* oklch */ color: oklch(57.2% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#9194ed',
    500: '#516ae4',
    950: '#000000',
  },
}
SCSS
$custom: #516ae4;
$custom-light: #9194ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516ae4",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 229.796,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.18646,
    "h": 270.7
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#516AE4
secondary
#E4DBAC
accent
#B410D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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