#516FCE#516FCE

#516FCE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.150 H 268.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516FCE
RGBrgb(81, 111, 206)
HSLhsl(226, 56%, 56%)
HSVhsv(226, 61%, 81%)
CMYKcmyk(60.7%, 46.1%, 0%, 19.2%)
CIE-LABlab(48.97, 18.40, -52.59)
CIE-LCHlch(48.97, 55.71, 289.28°)
OKLaboklab(56.67% -0.0048 -0.1502)
OKLCHoklch(56.67% 0.15 268.2)
XYZxyz(20.2146, 17.5727, 60.7072)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCE #CEB051
analogous
#51AECE #516FCE #7251CE
triadic
#516FCE #CE516F #6FCE51
tetradic
#516FCE #CE51AE #CEB051 #51CE72
square
#516FCE #CE51AE #CEB051 #51CE72
split-complementary
#516FCE #CE7251 #AECE51
monochromatic
#243A80 #3250B0 #516FCE #8197DB #B1BEE9

Accessibility & contrast

On white

4.65
#516FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#516FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCE#FFFFFF#000000##FFFFFF
##516FCE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fce;
/* rgb */ color: rgb(81, 111, 206);
/* oklch */ color: oklch(56.7% 0.150 268.2);
Tailwind
colors: {
  custom: {
    50: '#8d97dd',
    500: '#516fce',
    950: '#000000',
  },
}
SCSS
$custom: #516fce;
$custom-light: #8d97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#516fce",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 225.6,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.15024,
    "h": 268.2
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#516FCE
secondary
#D7CBA4
accent
#BB48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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