#516FE4#516FE4

#516FE4 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.2% C 0.180 H 269.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#516FE4
RGBrgb(81, 111, 228)
HSLhsl(228, 73%, 61%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(64.5%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.35, 25.91, -62.84)
CIE-LCHlch(50.35, 67.97, 292.41°)
OKLaboklab(58.17% -0.0023 -0.1803)
OKLCHoklch(58.17% 0.18 269.3)
XYZxyz(23.0766, 18.7175, 75.7805)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE4 #E4C651
analogous
#51B8E4 #516FE4 #7C51E4
triadic
#516FE4 #E4516F #6FE451
tetradic
#516FE4 #E451B8 #E4C651 #51E47C
square
#516FE4 #E451B8 #E4C651 #51E47C
split-complementary
#516FE4 #E47C51 #B8E451
monochromatic
#1935A2 #2146D7 #516FE4 #869BEC #BBC7F4

Accessibility & contrast

On white

4.43
#516FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#516FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE4#FFFFFF#000000##000000
##516FE41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516fe4;
/* rgb */ color: rgb(81, 111, 228);
/* oklch */ color: oklch(58.2% 0.180 269.3);
Tailwind
colors: {
  custom: {
    50: '#9097ed',
    500: '#516fe4',
    950: '#000000',
  },
}
SCSS
$custom: #516fe4;
$custom-light: #9097ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe4",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 227.755,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.18032,
    "h": 269.3
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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