#516FD9#516FD9

#516FD9 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.165 H 268.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#516FD9
RGBrgb(81, 111, 217)
HSLhsl(227, 64%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(62.7%, 48.8%, 0%, 14.9%)
CIE-LABlab(49.65, 22.14, -57.76)
CIE-LCHlch(49.65, 61.86, 290.98°)
OKLaboklab(57.4% -0.0034 -0.1654)
OKLCHoklch(57.4% 0.165 268.8)
XYZxyz(21.5979, 18.1261, 67.9927)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD9 #D9BB51
analogous
#51B3D9 #516FD9 #7751D9
triadic
#516FD9 #D9516F #6FD951
tetradic
#516FD9 #D951B3 #D9BB51 #51D977
square
#516FD9 #D951B3 #D9BB51 #51D977
split-complementary
#516FD9 #D97751 #B3D951
monochromatic
#1F3890 #2A4CC2 #516FD9 #8399E4 #B5C2EF

Accessibility & contrast

On white

4.54
#516FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#516FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FD9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD9#FFFFFF#000000##000000
##516FD91.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDD
Deuteranopia (green-blind)
#1870D7
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516fd9;
/* rgb */ color: rgb(81, 111, 217);
/* oklch */ color: oklch(57.4% 0.165 268.8);
Tailwind
colors: {
  custom: {
    50: '#8e97e5',
    500: '#516fd9',
    950: '#000000',
  },
}
SCSS
$custom: #516fd9;
$custom-light: #8e97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd9",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 217
  },
  "hsl": {
    "h": 226.765,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.16541,
    "h": 268.8
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#516FD9
secondary
#DED2A8
accent
#C241E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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