#516BCE#516BCE

#516BCE is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.9% C 0.155 H 269.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#516BCE
RGBrgb(81, 107, 206)
HSLhsl(228, 56%, 56%)
HSVhsv(228, 61%, 81%)
CMYKcmyk(60.7%, 48.1%, 0%, 19.2%)
CIE-LABlab(47.90, 20.89, -54.30)
CIE-LCHlch(47.90, 58.18, 291.04°)
OKLaboklab(55.86% -0.0007 -0.1552)
OKLCHoklch(55.86% 0.155 269.7)
XYZxyz(19.7879, 16.7193, 60.5649)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BCE #CEB451
analogous
#51AACE #516BCE #7651CE
triadic
#516BCE #CE516B #6BCE51
tetradic
#516BCE #CE51AA #CEB451 #51CE76
square
#516BCE #CE51AA #CEB451 #51CE76
split-complementary
#516BCE #CE7651 #AACE51
monochromatic
#243780 #324CB0 #516BCE #8194DB #B1BCE9

Accessibility & contrast

On white

4.83
#516BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#516BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BCE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BCE#FFFFFF#000000##FFFFFF
##516BCE1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3978D2
Deuteranopia (green-blind)
#226CCC
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bce;
/* rgb */ color: rgb(81, 107, 206);
/* oklch */ color: oklch(55.9% 0.155 269.7);
Tailwind
colors: {
  custom: {
    50: '#8d95dd',
    500: '#516bce',
    950: '#000000',
  },
}
SCSS
$custom: #516bce;
$custom-light: #8d95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516bce",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 227.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.15525,
    "h": 269.7
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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