#516CCE#516CCE

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

Color values

HEX#516CCE
RGBrgb(81, 108, 206)
HSLhsl(227, 56%, 56%)
HSVhsv(227, 61%, 81%)
CMYKcmyk(60.7%, 47.6%, 0%, 19.2%)
CIE-LABlab(48.17, 20.27, -53.87)
CIE-LCHlch(48.17, 57.56, 290.61°)
OKLaboklab(56.06% -0.0017 -0.154)
OKLCHoklch(56.06% 0.154 269.4)
XYZxyz(19.8927, 16.9290, 60.5999)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CCE #CEB351
analogous
#51ABCE #516CCE #7551CE
triadic
#516CCE #CE516C #6CCE51
tetradic
#516CCE #CE51AB #CEB351 #51CE75
square
#516CCE #CE51AB #CEB351 #51CE75
split-complementary
#516CCE #CE7551 #ABCE51
monochromatic
#243880 #324DB0 #516CCE #8194DB #B1BDE9

Accessibility & contrast

On white

4.79
#516CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#516CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CCE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CCE#FFFFFF#000000##FFFFFF
##516CCE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516cce;
/* rgb */ color: rgb(81, 108, 206);
/* oklch */ color: oklch(56.1% 0.154 269.4);
Tailwind
colors: {
  custom: {
    50: '#8d95dd',
    500: '#516cce',
    950: '#000000',
  },
}
SCSS
$custom: #516cce;
$custom-light: #8d95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516cce",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 227.04,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.154,
    "h": 269.4
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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