#516DCE#516DCE

#516DCE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.153 H 269.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#516DCE
RGBrgb(81, 109, 206)
HSLhsl(227, 56%, 56%)
HSVhsv(227, 61%, 81%)
CMYKcmyk(60.7%, 47.1%, 0%, 19.2%)
CIE-LABlab(48.44, 19.64, -53.45)
CIE-LCHlch(48.44, 56.94, 290.18°)
OKLaboklab(56.26% -0.0028 -0.1527)
OKLCHoklch(56.26% 0.153 269)
XYZxyz(19.9988, 17.1412, 60.6352)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCE #CEB251
analogous
#51ACCE #516DCE #7451CE
triadic
#516DCE #CE516D #6DCE51
tetradic
#516DCE #CE51AC #CEB251 #51CE74
square
#516DCE #CE51AC #CEB251 #51CE74
split-complementary
#516DCE #CE7451 #ACCE51
monochromatic
#243980 #324EB0 #516DCE #8195DB #B1BDE9

Accessibility & contrast

On white

4.74
#516DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#516DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCE#FFFFFF#000000##FFFFFF
##516DCE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D2
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dce;
/* rgb */ color: rgb(81, 109, 206);
/* oklch */ color: oklch(56.3% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#8d96dd',
    500: '#516dce',
    950: '#000000',
  },
}
SCSS
$custom: #516dce;
$custom-light: #8d96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516dce",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 226.56,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.15274,
    "h": 269
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#516DCE
secondary
#D7CCA4
accent
#BE48DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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