#516FCF#516FCF

#516FCF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.152 H 268.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#516FCF
RGBrgb(81, 111, 207)
HSLhsl(226, 57%, 56%)
HSVhsv(226, 61%, 81%)
CMYKcmyk(60.9%, 46.4%, 0%, 18.8%)
CIE-LABlab(49.03, 18.74, -53.06)
CIE-LCHlch(49.03, 56.27, 289.45°)
OKLaboklab(56.74% -0.0047 -0.1516)
OKLCHoklch(56.74% 0.152 268.2)
XYZxyz(20.3364, 17.6215, 61.3490)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCF #CFB151
analogous
#51AECF #516FCF #7251CF
triadic
#516FCF #CF516F #6FCF51
tetradic
#516FCF #CF51AE #CFB151 #51CF72
square
#516FCF #CF51AE #CFB151 #51CF72
split-complementary
#516FCF #CF7251 #AECF51
monochromatic
#243A82 #3150B2 #516FCF #8197DC #B1BEE9

Accessibility & contrast

On white

4.64
#516FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#516FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCF#FFFFFF#000000##FFFFFF
##516FCF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fcf;
/* rgb */ color: rgb(81, 111, 207);
/* oklch */ color: oklch(56.7% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#8d97de',
    500: '#516fcf',
    950: '#000000',
  },
}
SCSS
$custom: #516fcf;
$custom-light: #8d97de;
$custom-dark: #000000;
JSON
{
  "hex": "#516fcf",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 225.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.15163,
    "h": 268.2
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#516FCF
secondary
#D8CBA4
accent
#BC48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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