#516FD8#516FD8

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

Color values

HEX#516FD8
RGBrgb(81, 111, 216)
HSLhsl(227, 63%, 58%)
HSVhsv(227, 63%, 85%)
CMYKcmyk(62.5%, 48.6%, 0%, 15.3%)
CIE-LABlab(49.59, 21.80, -57.29)
CIE-LCHlch(49.59, 61.30, 290.83°)
OKLaboklab(57.34% -0.0035 -0.164)
OKLCHoklch(57.34% 0.164 268.8)
XYZxyz(21.4682, 18.0742, 67.3098)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD8 #D8BA51
analogous
#51B2D8 #516FD8 #7651D8
triadic
#516FD8 #D8516F #6FD851
tetradic
#516FD8 #D851B2 #D8BA51 #51D876
square
#516FD8 #D851B2 #D8BA51 #51D876
split-complementary
#516FD8 #D87651 #B2D851
monochromatic
#20398F #2B4CC1 #516FD8 #8398E3 #B5C2EE

Accessibility & contrast

On white

4.55
#516FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#516FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FD8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD8#FFFFFF#000000##000000
##516FD81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDC
Deuteranopia (green-blind)
#1A70D6
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516fd8;
/* rgb */ color: rgb(81, 111, 216);
/* oklch */ color: oklch(57.3% 0.164 268.8);
Tailwind
colors: {
  custom: {
    50: '#8e97e5',
    500: '#516fd8',
    950: '#000000',
  },
}
SCSS
$custom: #516fd8;
$custom-light: #8e97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd8",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 226.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.16405,
    "h": 268.8
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#516FD8
secondary
#DDD1A8
accent
#C241E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #516FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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