#516BD1#516BD1

#516BD1 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.159 H 269.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516BD1
RGBrgb(81, 107, 209)
HSLhsl(228, 58%, 57%)
HSVhsv(228, 61%, 82%)
CMYKcmyk(61.2%, 48.8%, 0%, 18%)
CIE-LABlab(48.09, 21.91, -55.71)
CIE-LCHlch(48.09, 59.87, 291.47°)
OKLaboklab(56.06% -0.0004 -0.1594)
OKLCHoklch(56.06% 0.159 269.9)
XYZxyz(20.1558, 16.8665, 62.5026)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BD1 #D1B751
analogous
#51ABD1 #516BD1 #7751D1
triadic
#516BD1 #D1516B #6BD151
tetradic
#516BD1 #D151AB #D1B751 #51D177
square
#516BD1 #D151AB #D1B751 #51D177
split-complementary
#516BD1 #D17751 #ABD151
monochromatic
#233785 #304BB5 #516BD1 #8194DE #B2BDEB

Accessibility & contrast

On white

4.80
#516BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#516BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BD1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BD1#FFFFFF#000000##FFFFFF
##516BD11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#008294
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bd1;
/* rgb */ color: rgb(81, 107, 209);
/* oklch */ color: oklch(56.1% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#516bd1',
    950: '#000000',
  },
}
SCSS
$custom: #516bd1;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#516bd1",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 209
  },
  "hsl": {
    "h": 227.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.15941,
    "h": 269.9
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#516BD1
secondary
#D9CEA5
accent
#C246E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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