#516FCC#516FCC

#516FCC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.147 H 268.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#516FCC
RGBrgb(81, 111, 204)
HSLhsl(225, 55%, 56%)
HSVhsv(225, 60%, 80%)
CMYKcmyk(60.3%, 45.6%, 0%, 20%)
CIE-LABlab(48.85, 17.72, -51.63)
CIE-LCHlch(48.85, 54.59, 288.94°)
OKLaboklab(56.54% -0.0051 -0.1474)
OKLCHoklch(56.54% 0.147 268)
XYZxyz(19.9732, 17.4762, 59.4357)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCC #CCAE51
analogous
#51ACCC #516FCC #7051CC
triadic
#516FCC #CC516F #6FCC51
tetradic
#516FCC #CC51AC #CCAE51 #51CC70
square
#516FCC #CC51AC #CCAE51 #51CC70
split-complementary
#516FCC #CC7051 #ACCC51
monochromatic
#253B7E #3351AD #516FCC #8096DA #B0BDE8

Accessibility & contrast

On white

4.67
#516FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#516FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCC#FFFFFF#000000##FFFFFF
##516FCC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fcc;
/* rgb */ color: rgb(81, 111, 204);
/* oklch */ color: oklch(56.5% 0.147 268.0);
Tailwind
colors: {
  custom: {
    50: '#8c97dc',
    500: '#516fcc',
    950: '#000000',
  },
}
SCSS
$custom: #516fcc;
$custom-light: #8c97dc;
$custom-dark: #000000;
JSON
{
  "hex": "#516fcc",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 225.366,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.14746,
    "h": 268
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#516FCC
secondary
#D6C9A3
accent
#BA4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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