#516FE5#516FE5

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

Color values

HEX#516FE5
RGBrgb(81, 111, 229)
HSLhsl(228, 74%, 61%)
HSVhsv(228, 65%, 90%)
CMYKcmyk(64.6%, 51.5%, 0%, 10.2%)
CIE-LABlab(50.42, 26.25, -63.29)
CIE-LCHlch(50.42, 68.52, 292.53°)
OKLaboklab(58.24% -0.0022 -0.1816)
OKLCHoklch(58.24% 0.182 269.3)
XYZxyz(23.2158, 18.7732, 76.5137)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE5 #E5C751
analogous
#51B9E5 #516FE5 #7D51E5
triadic
#516FE5 #E5516F #6FE551
tetradic
#516FE5 #E551B9 #E5C751 #51E57D
square
#516FE5 #E551B9 #E5C751 #51E57D
split-complementary
#516FE5 #E57D51 #B9E551
monochromatic
#1835A3 #2046D8 #516FE5 #869BED #BBC7F5

Accessibility & contrast

On white

4.42
#516FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#516FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE5#FFFFFF#000000##000000
##516FE51.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516fe5;
/* rgb */ color: rgb(81, 111, 229);
/* oklch */ color: oklch(58.2% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#9097ee',
    500: '#516fe5',
    950: '#000000',
  },
}
SCSS
$custom: #516fe5;
$custom-light: #9097ee;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe5",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 227.838,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.18166,
    "h": 269.3
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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