#516FBF#516FBF

#516FBF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.129 H 266.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516FBF
RGBrgb(81, 111, 191)
HSLhsl(224, 46%, 53%)
HSVhsv(224, 58%, 75%)
CMYKcmyk(57.6%, 41.9%, 0%, 25.1%)
CIE-LABlab(48.11, 13.33, -45.36)
CIE-LCHlch(48.11, 47.28, 286.38°)
OKLaboklab(55.73% -0.0073 -0.129)
OKLCHoklch(55.73% 0.129 266.7)
XYZxyz(18.4786, 16.8783, 51.5642)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBF #BFA151
analogous
#51A6BF #516FBF #6A51BF
triadic
#516FBF #BF516F #6FBF51
tetradic
#516FBF #BF51A6 #BFA151 #51BF6A
square
#516FBF #BF51A6 #BFA151 #51BF6A
split-complementary
#516FBF #BF6A51 #A6BF51
monochromatic
#283B6D #39539A #516FBF #7E94CF #AAB9E0

Accessibility & contrast

On white

4.80
#516FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#516FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBF#FFFFFF#000000##FFFFFF
##516FBF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#3E6EBD
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516fbf;
/* rgb */ color: rgb(81, 111, 191);
/* oklch */ color: oklch(55.7% 0.129 266.7);
Tailwind
colors: {
  custom: {
    50: '#8a97d3',
    500: '#516fbf',
    950: '#000000',
  },
}
SCSS
$custom: #516fbf;
$custom-light: #8a97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516fbf",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 223.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.12917,
    "h": 266.7
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#516FBF
secondary
#CEC19E
accent
#B252D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #516FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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