#516ACC#516ACC

#516ACC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.5% C 0.154 H 270.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#516ACC
RGBrgb(81, 106, 204)
HSLhsl(228, 55%, 56%)
HSVhsv(228, 60%, 80%)
CMYKcmyk(60.3%, 48%, 0%, 20%)
CIE-LABlab(47.51, 20.84, -53.78)
CIE-LCHlch(47.51, 57.68, 291.18°)
OKLaboklab(55.52% 0 -0.1537)
OKLCHoklch(55.52% 0.154 270)
XYZxyz(19.4428, 16.4154, 59.2589)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ACC #CCB351
analogous
#51A7CC #516ACC #7551CC
triadic
#516ACC #CC516A #6ACC51
tetradic
#516ACC #CC51A7 #CCB351 #51CC75
square
#516ACC #CC51A7 #CCB351 #51CC75
split-complementary
#516ACC #CC7551 #A7CC51
monochromatic
#25377E #334CAD #516ACC #8093DA #B0BBE8

Accessibility & contrast

On white

4.90
#516ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#516ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516ACC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ACC#FFFFFF#000000##FFFFFF
##516ACC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976D0
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516acc;
/* rgb */ color: rgb(81, 106, 204);
/* oklch */ color: oklch(55.5% 0.154 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c94dc',
    500: '#516acc',
    950: '#000000',
  },
}
SCSS
$custom: #516acc;
$custom-light: #8c94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#516acc",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 227.805,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.15374,
    "h": 270
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#516ACC
secondary
#D6CCA3
accent
#C04ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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