#516FE9#516FE9

#516FE9 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.187 H 269.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516FE9
RGBrgb(81, 111, 233)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 65%, 91%)
CMYKcmyk(65.2%, 52.4%, 0%, 8.6%)
CIE-LABlab(50.69, 27.62, -65.11)
CIE-LCHlch(50.69, 70.73, 292.99°)
OKLaboklab(58.52% -0.0019 -0.187)
OKLCHoklch(58.52% 0.187 269.4)
XYZxyz(23.7808, 18.9992, 79.4890)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE9 #E9CB51
analogous
#51BBE9 #516FE9 #7F51E9
triadic
#516FE9 #E9516F #6FE951
tetradic
#516FE9 #E951BB #E9CB51 #51E97F
square
#516FE9 #E951BB #E9CB51 #51E97F
split-complementary
#516FE9 #E97F51 #BBE951
monochromatic
#1633AA #1C43E0 #516FE9 #879CF0 #BEC9F7

Accessibility & contrast

On white

4.37
#516FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#516FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE9#FFFFFF#000000##000000
##516FE91.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80ED
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #516fe9;
/* rgb */ color: rgb(81, 111, 233);
/* oklch */ color: oklch(58.5% 0.187 269.4);
Tailwind
colors: {
  custom: {
    50: '#9197f1',
    500: '#516fe9',
    950: '#000000',
  },
}
SCSS
$custom: #516fe9;
$custom-light: #9197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe9",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 228.158,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.18701,
    "h": 269.4
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

primary
#516FE9
secondary
#E7DCAF
accent
#B10CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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