#516FE2#516FE2

#516FE2 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.178 H 269.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#516FE2
RGBrgb(81, 111, 226)
HSLhsl(228, 71%, 60%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(64.2%, 50.9%, 0%, 11.4%)
CIE-LABlab(50.22, 25.23, -61.92)
CIE-LCHlch(50.22, 66.86, 292.17°)
OKLaboklab(58.03% -0.0024 -0.1776)
OKLCHoklch(58.03% 0.178 269.2)
XYZxyz(22.8006, 18.6071, 74.3267)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE2 #E2C451
analogous
#51B8E2 #516FE2 #7B51E2
triadic
#516FE2 #E2516F #6FE251
tetradic
#516FE2 #E251B8 #E2C451 #51E27B
square
#516FE2 #E251B8 #E2C451 #51E27B
split-complementary
#516FE2 #E27B51 #B8E251
monochromatic
#1A369E #2347D3 #516FE2 #859AEB #BAC6F3

Accessibility & contrast

On white

4.45
#516FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#516FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE2#FFFFFF#000000##000000
##516FE21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516fe2;
/* rgb */ color: rgb(81, 111, 226);
/* oklch */ color: oklch(58.0% 0.178 269.2);
Tailwind
colors: {
  custom: {
    50: '#9097ec',
    500: '#516fe2',
    950: '#000000',
  },
}
SCSS
$custom: #516fe2;
$custom-light: #9097ec;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe2",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 227.586,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.17764,
    "h": 269.2
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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