#516DC8#516DC8

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

Color values

HEX#516DC8
RGBrgb(81, 109, 200)
HSLhsl(226, 52%, 55%)
HSVhsv(226, 60%, 78%)
CMYKcmyk(59.5%, 45.5%, 0%, 21.6%)
CIE-LABlab(48.08, 17.61, -50.59)
CIE-LCHlch(48.08, 53.56, 289.19°)
OKLaboklab(55.87% -0.0036 -0.1443)
OKLCHoklch(55.87% 0.144 268.6)
XYZxyz(19.2838, 16.8552, 56.8695)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC8 #C8AC51
analogous
#51A9C8 #516DC8 #7051C8
triadic
#516DC8 #C8516D #6DC851
tetradic
#516DC8 #C851A9 #C8AC51 #51C870
square
#516DC8 #C851A9 #C8AC51 #51C870
split-complementary
#516DC8 #C87051 #A9C851
monochromatic
#263979 #3550A7 #516DC8 #8094D7 #AEBBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516DC8#FFFFFF#000000##FFFFFF
##516DC81.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)
#4278CB
Deuteranopia (green-blind)
#316DC6
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516dc8;
/* rgb */ color: rgb(81, 109, 200);
/* oklch */ color: oklch(55.9% 0.144 268.6);
Tailwind
colors: {
  custom: {
    50: '#8c96d9',
    500: '#516dc8',
    950: '#000000',
  },
}
SCSS
$custom: #516dc8;
$custom-light: #8c96d9;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc8",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 200
  },
  "hsl": {
    "h": 225.882,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.14437,
    "h": 268.6
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#516DC8
secondary
#D3C8A1
accent
#BA4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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