#516BCF#516BCF

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

Color values

HEX#516BCF
RGBrgb(81, 107, 207)
HSLhsl(228, 57%, 56%)
HSVhsv(228, 61%, 81%)
CMYKcmyk(60.9%, 48.3%, 0%, 18.8%)
CIE-LABlab(47.97, 21.23, -54.77)
CIE-LCHlch(47.97, 58.74, 291.19°)
OKLaboklab(55.93% -0.0006 -0.1566)
OKLCHoklch(55.93% 0.157 269.8)
XYZxyz(19.9097, 16.7681, 61.2067)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BCF #CFB551
analogous
#51AACF #516BCF #7651CF
triadic
#516BCF #CF516B #6BCF51
tetradic
#516BCF #CF51AA #CFB551 #51CF76
square
#516BCF #CF51AA #CFB551 #51CF76
split-complementary
#516BCF #CF7651 #AACF51
monochromatic
#243782 #314CB2 #516BCF #8194DC #B1BDE9

Accessibility & contrast

On white

4.82
#516BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#516BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BCF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BCF#FFFFFF#000000##FFFFFF
##516BCF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#206DCD
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516bcf;
/* rgb */ color: rgb(81, 107, 207);
/* oklch */ color: oklch(55.9% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#8d95de',
    500: '#516bcf',
    950: '#000000',
  },
}
SCSS
$custom: #516bcf;
$custom-light: #8d95de;
$custom-dark: #000000;
JSON
{
  "hex": "#516bcf",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 227.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.15664,
    "h": 269.8
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#516BCF
secondary
#D8CDA4
accent
#C148E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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