#516FDA#516FDA

#516FDA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.167 H 268.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#516FDA
RGBrgb(81, 111, 218)
HSLhsl(227, 65%, 59%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(62.8%, 49.1%, 0%, 14.5%)
CIE-LABlab(49.71, 22.49, -58.23)
CIE-LCHlch(49.71, 62.42, 291.12°)
OKLaboklab(57.47% -0.0032 -0.1667)
OKLCHoklch(57.47% 0.167 268.9)
XYZxyz(21.7284, 18.1783, 68.6798)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FDA #DABC51
analogous
#51B3DA #516FDA #7751DA
triadic
#516FDA #DA516F #6FDA51
tetradic
#516FDA #DA51B3 #DABC51 #51DA77
square
#516FDA #DA51B3 #DABC51 #51DA77
split-complementary
#516FDA #DA7751 #B3DA51
monochromatic
#1F3892 #2A4CC4 #516FDA #8399E5 #B6C3EF

Accessibility & contrast

On white

4.53
#516FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#516FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FDA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FDA#FFFFFF#000000##000000
##516FDA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#1470D8
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516fda;
/* rgb */ color: rgb(81, 111, 218);
/* oklch */ color: oklch(57.5% 0.167 268.9);
Tailwind
colors: {
  custom: {
    50: '#8f97e6',
    500: '#516fda',
    950: '#000000',
  },
}
SCSS
$custom: #516fda;
$custom-light: #8f97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#516fda",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 226.861,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.16678,
    "h": 268.9
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#516FDA
secondary
#DED3A8
accent
#C340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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