#516FD2#516FD2

#516FD2 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.156 H 268.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#516FD2
RGBrgb(81, 111, 210)
HSLhsl(226, 59%, 57%)
HSVhsv(226, 61%, 82%)
CMYKcmyk(61.4%, 47.1%, 0%, 17.6%)
CIE-LABlab(49.22, 19.76, -54.48)
CIE-LCHlch(49.22, 57.95, 289.93°)
OKLaboklab(56.94% -0.0042 -0.1557)
OKLCHoklch(56.94% 0.156 268.4)
XYZxyz(20.7067, 17.7696, 63.2989)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD2 #D2B451
analogous
#51AFD2 #516FD2 #7451D2
triadic
#516FD2 #D2516F #6FD251
tetradic
#516FD2 #D251AF #D2B451 #51D274
square
#516FD2 #D251AF #D2B451 #51D274
split-complementary
#516FD2 #D27451 #AFD251
monochromatic
#233A86 #2F4FB7 #516FD2 #8297DF #B2BFEB

Accessibility & contrast

On white

4.61
#516FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#516FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FD2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD2#FFFFFF#000000##FFFFFF
##516FD21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516fd2;
/* rgb */ color: rgb(81, 111, 210);
/* oklch */ color: oklch(56.9% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#8d97e0',
    500: '#516fd2',
    950: '#000000',
  },
}
SCSS
$custom: #516fd2;
$custom-light: #8d97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd2",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 226.047,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.15579,
    "h": 268.4
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#516FD2
secondary
#DACDA5
accent
#BE46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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