#516FE6#516FE6

#516FE6 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.183 H 269.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#516FE6
RGBrgb(81, 111, 230)
HSLhsl(228, 75%, 61%)
HSVhsv(228, 65%, 90%)
CMYKcmyk(64.8%, 51.7%, 0%, 9.8%)
CIE-LABlab(50.49, 26.60, -63.75)
CIE-LCHlch(50.49, 69.07, 292.65°)
OKLaboklab(58.31% -0.0021 -0.183)
OKLCHoklch(58.31% 0.183 269.3)
XYZxyz(23.3558, 18.8292, 77.2511)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE6 #E6C851
analogous
#51BAE6 #516FE6 #7D51E6
triadic
#516FE6 #E6516F #6FE651
tetradic
#516FE6 #E651BA #E6C851 #51E67D
square
#516FE6 #E651BA #E6C851 #51E67D
split-complementary
#516FE6 #E67D51 #BAE651
monochromatic
#1834A5 #1F45DA #516FE6 #879BEE #BCC8F5

Accessibility & contrast

On white

4.41
#516FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#516FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE6#FFFFFF#000000##000000
##516FE61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516fe6;
/* rgb */ color: rgb(81, 111, 230);
/* oklch */ color: oklch(58.3% 0.183 269.3);
Tailwind
colors: {
  custom: {
    50: '#9197ef',
    500: '#516fe6',
    950: '#000000',
  },
}
SCSS
$custom: #516fe6;
$custom-light: #9197ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe6",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 227.919,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.183,
    "h": 269.3
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#516FE6
secondary
#E5DAAD
accent
#AF0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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