#516CCC#516CCC

#516CCC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.151 H 269.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#516CCC
RGBrgb(81, 108, 204)
HSLhsl(227, 55%, 56%)
HSVhsv(227, 60%, 80%)
CMYKcmyk(60.3%, 47.1%, 0%, 20%)
CIE-LABlab(48.05, 19.59, -52.93)
CIE-LCHlch(48.05, 56.43, 290.31°)
OKLaboklab(55.93% -0.002 -0.1512)
OKLCHoklch(55.93% 0.151 269.2)
XYZxyz(19.6513, 16.8325, 59.3284)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CCC #CCB151
analogous
#51AACC #516CCC #7351CC
triadic
#516CCC #CC516C #6CCC51
tetradic
#516CCC #CC51AA #CCB151 #51CC73
square
#516CCC #CC51AA #CCB151 #51CC73
split-complementary
#516CCC #CC7351 #AACC51
monochromatic
#25387E #334EAD #516CCC #8094DA #B0BCE8

Accessibility & contrast

On white

4.81
#516CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#516CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CCC#FFFFFF#000000##FFFFFF
##516CCC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ccc;
/* rgb */ color: rgb(81, 108, 204);
/* oklch */ color: oklch(55.9% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#8c95dc',
    500: '#516ccc',
    950: '#000000',
  },
}
SCSS
$custom: #516ccc;
$custom-light: #8c95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#516ccc",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 226.829,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.15121,
    "h": 269.2
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#516CCC
secondary
#D6CBA3
accent
#BD4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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