#516EE2#516EE2

#516EE2 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.8% C 0.179 H 269.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#516EE2
RGBrgb(81, 110, 226)
HSLhsl(228, 71%, 60%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(64.2%, 51.3%, 0%, 11.4%)
CIE-LABlab(49.97, 25.85, -62.34)
CIE-LCHlch(49.97, 67.48, 292.52°)
OKLaboklab(57.83% -0.0015 -0.1789)
OKLCHoklch(57.83% 0.179 269.5)
XYZxyz(22.6921, 18.3901, 74.2906)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EE2 #E2C551
analogous
#51B7E2 #516EE2 #7C51E2
triadic
#516EE2 #E2516E #6EE251
tetradic
#516EE2 #E251B7 #E2C551 #51E27C
square
#516EE2 #E251B7 #E2C551 #51E27C
split-complementary
#516EE2 #E27C51 #B7E251
monochromatic
#1A359E #2346D3 #516EE2 #859AEB #BAC5F3

Accessibility & contrast

On white

4.49
#516EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#516EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EE2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EE2#FFFFFF#000000##000000
##516EE21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516ee2;
/* rgb */ color: rgb(81, 110, 226);
/* oklch */ color: oklch(57.8% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#9097ec',
    500: '#516ee2',
    950: '#000000',
  },
}
SCSS
$custom: #516ee2;
$custom-light: #9097ec;
$custom-dark: #000000;
JSON
{
  "hex": "#516ee2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 228,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.17887,
    "h": 269.5
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#516EE2
secondary
#E3D8AC
accent
#AD12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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