#516FE7#516FE7

#516FE7 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.184 H 269.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#516FE7
RGBrgb(81, 111, 231)
HSLhsl(228, 76%, 61%)
HSVhsv(228, 65%, 91%)
CMYKcmyk(64.9%, 51.9%, 0%, 9.4%)
CIE-LABlab(50.55, 26.94, -64.20)
CIE-LCHlch(50.55, 69.62, 292.76°)
OKLaboklab(58.38% -0.002 -0.1843)
OKLCHoklch(58.38% 0.184 269.4)
XYZxyz(23.4967, 18.8856, 77.9928)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE7 #E7C951
analogous
#51BAE7 #516FE7 #7E51E7
triadic
#516FE7 #E7516F #6FE751
tetradic
#516FE7 #E751BA #E7C951 #51E77E
square
#516FE7 #E751BA #E7C951 #51E77E
split-complementary
#516FE7 #E77E51 #BAE751
monochromatic
#1734A7 #1E44DC #516FE7 #879CEE #BDC8F6

Accessibility & contrast

On white

4.40
#516FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#516FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE7#FFFFFF#000000##000000
##516FE71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227FEB
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516fe7;
/* rgb */ color: rgb(81, 111, 231);
/* oklch */ color: oklch(58.4% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#9197ef',
    500: '#516fe7',
    950: '#000000',
  },
}
SCSS
$custom: #516fe7;
$custom-light: #9197ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe7",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 228,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.18434,
    "h": 269.4
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#516FE7
secondary
#E6DBAE
accent
#AF0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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