#516BEA#516BEA

#516BEA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.193 H 270.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#516BEA
RGBrgb(81, 107, 234)
HSLhsl(230, 78%, 62%)
HSVhsv(230, 65%, 92%)
CMYKcmyk(65.4%, 54.3%, 0%, 8.2%)
CIE-LABlab(49.74, 30.44, -67.20)
CIE-LCHlch(49.74, 73.77, 294.37°)
OKLaboklab(57.83% 0.0017 -0.1932)
OKLCHoklch(57.83% 0.193 270.5)
XYZxyz(23.4973, 18.2031, 80.1012)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BEA #EAD051
analogous
#51B8EA #516BEA #8451EA
triadic
#516BEA #EA516B #6BEA51
tetradic
#516BEA #EA51B8 #EAD051 #51EA84
square
#516BEA #EA51B8 #EAD051 #51EA84
split-complementary
#516BEA #EA8451 #B8EA51
monochromatic
#152EAC #1B3DE2 #516BEA #8899F1 #BEC8F7

Accessibility & contrast

On white

4.52
#516BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#516BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516BEA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BEA#FFFFFF#000000##000000
##516BEA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516bea;
/* rgb */ color: rgb(81, 107, 234);
/* oklch */ color: oklch(57.8% 0.193 270.5);
Tailwind
colors: {
  custom: {
    50: '#9295f2',
    500: '#516bea',
    950: '#000000',
  },
}
SCSS
$custom: #516bea;
$custom-light: #9295f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516bea",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 229.804,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.19321,
    "h": 270.5
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#516BEA
secondary
#E8DEAF
accent
#B70BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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