#516ACF#516ACF

#516ACF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.158 H 270.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#516ACF
RGBrgb(81, 106, 207)
HSLhsl(228, 57%, 56%)
HSVhsv(228, 61%, 81%)
CMYKcmyk(60.9%, 48.8%, 0%, 18.8%)
CIE-LABlab(47.70, 21.85, -55.20)
CIE-LCHlch(47.70, 59.37, 291.60°)
OKLaboklab(55.72% 0.0004 -0.1579)
OKLCHoklch(55.72% 0.158 270.1)
XYZxyz(19.8061, 16.5607, 61.1722)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ACF #CFB651
analogous
#51A9CF #516ACF #7751CF
triadic
#516ACF #CF516A #6ACF51
tetradic
#516ACF #CF51A9 #CFB651 #51CF77
square
#516ACF #CF51A9 #CFB651 #51CF77
split-complementary
#516ACF #CF7751 #A9CF51
monochromatic
#243682 #314BB2 #516ACF #8193DC #B1BCE9

Accessibility & contrast

On white

4.87
#516ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#516ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516ACF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ACF#FFFFFF#000000##FFFFFF
##516ACF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#1D6CCD
Tritanopia (blue-blind)
#008193
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516acf;
/* rgb */ color: rgb(81, 106, 207);
/* oklch */ color: oklch(55.7% 0.158 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d94de',
    500: '#516acf',
    950: '#000000',
  },
}
SCSS
$custom: #516acf;
$custom-light: #8d94de;
$custom-dark: #000000;
JSON
{
  "hex": "#516acf",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 207
  },
  "hsl": {
    "h": 228.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.15791,
    "h": 270.1
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#516ACF
secondary
#D8CEA4
accent
#C248E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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