#516BBF#516BBF

#516BBF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.134 H 268.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#516BBF
RGBrgb(81, 107, 191)
HSLhsl(226, 46%, 53%)
HSVhsv(226, 58%, 75%)
CMYKcmyk(57.6%, 44%, 0%, 25.1%)
CIE-LABlab(47.01, 15.83, -47.12)
CIE-LCHlch(47.01, 49.70, 288.57°)
OKLaboklab(54.88% -0.0029 -0.1341)
OKLCHoklch(54.88% 0.134 268.7)
XYZxyz(18.0519, 16.0249, 51.4220)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BBF #BFA551
analogous
#51A2BF #516BBF #6E51BF
triadic
#516BBF #BF516B #6BBF51
tetradic
#516BBF #BF51A2 #BFA551 #51BF6E
square
#516BBF #BF51A2 #BFA551 #51BF6E
split-complementary
#516BBF #BF6E51 #A2BF51
monochromatic
#28396D #39509A #516BBF #7E91CF #AAB7E0

Accessibility & contrast

On white

4.99
#516BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#516BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BBF#FFFFFF#000000##FFFFFF
##516BBF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bbf;
/* rgb */ color: rgb(81, 107, 191);
/* oklch */ color: oklch(54.9% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#8a95d3',
    500: '#516bbf',
    950: '#000000',
  },
}
SCSS
$custom: #516bbf;
$custom-light: #8a95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516bbf",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 225.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.13417,
    "h": 268.7
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#516BBF
secondary
#CEC29E
accent
#B752D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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