#516EE4#516EE4

#516EE4 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.182 H 269.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516EE4
RGBrgb(81, 110, 228)
HSLhsl(228, 73%, 61%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(64.5%, 51.8%, 0%, 10.6%)
CIE-LABlab(50.10, 26.53, -63.25)
CIE-LCHlch(50.10, 68.59, 292.76°)
OKLaboklab(57.97% -0.0014 -0.1815)
OKLCHoklch(57.97% 0.182 269.6)
XYZxyz(22.9681, 18.5005, 75.7443)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EE4 #E4C751
analogous
#51B8E4 #516EE4 #7D51E4
triadic
#516EE4 #E4516E #6EE451
tetradic
#516EE4 #E451B8 #E4C751 #51E47D
square
#516EE4 #E451B8 #E4C751 #51E47D
split-complementary
#516EE4 #E47D51 #B8E451
monochromatic
#1934A2 #2145D7 #516EE4 #869AEC #BBC6F4

Accessibility & contrast

On white

4.47
#516EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#516EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EE4#FFFFFF#000000##000000
##516EE41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516ee4;
/* rgb */ color: rgb(81, 110, 228);
/* oklch */ color: oklch(58.0% 0.182 269.6);
Tailwind
colors: {
  custom: {
    50: '#9097ed',
    500: '#516ee4',
    950: '#000000',
  },
}
SCSS
$custom: #516ee4;
$custom-light: #9097ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516ee4",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 228.163,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.18155,
    "h": 269.6
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#516EE4
secondary
#E4D9AC
accent
#AE10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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