#516AEB#516AEB

#516AEB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.7% C 0.196 H 270.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#516AEB
RGBrgb(81, 106, 235)
HSLhsl(230, 79%, 62%)
HSVhsv(230, 66%, 92%)
CMYKcmyk(65.5%, 54.9%, 0%, 7.8%)
CIE-LABlab(49.56, 31.40, -68.05)
CIE-LCHlch(49.56, 74.95, 294.77°)
OKLaboklab(57.72% 0.0026 -0.1957)
OKLCHoklch(57.72% 0.196 270.7)
XYZxyz(23.5377, 18.0534, 80.8254)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AEB #EBD251
analogous
#51B7EB #516AEB #8551EB
triadic
#516AEB #EB516A #6AEB51
tetradic
#516AEB #EB51B7 #EBD251 #51EB85
square
#516AEB #EB51B7 #EBD251 #51EB85
split-complementary
#516AEB #EB8551 #B7EB51
monochromatic
#142DAE #1A3BE5 #516AEB #8899F1 #BFC8F8

Accessibility & contrast

On white

4.55
#516AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#516AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516AEB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AEB#FFFFFF#000000##000000
##516AEB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516aeb;
/* rgb */ color: rgb(81, 106, 235);
/* oklch */ color: oklch(57.7% 0.196 270.7);
Tailwind
colors: {
  custom: {
    50: '#9294f2',
    500: '#516aeb',
    950: '#000000',
  },
}
SCSS
$custom: #516aeb;
$custom-light: #9294f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516aeb",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 230.26,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.19575,
    "h": 270.7
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#516AEB
secondary
#E8DFB0
accent
#BA0ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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