#516BBD#516BBD

#516BBD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.8% C 0.131 H 268.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#516BBD
RGBrgb(81, 107, 189)
HSLhsl(226, 45%, 53%)
HSVhsv(226, 57%, 74%)
CMYKcmyk(57.1%, 43.4%, 0%, 25.9%)
CIE-LABlab(46.89, 15.15, -46.14)
CIE-LCHlch(46.89, 48.57, 288.18°)
OKLaboklab(54.76% -0.0033 -0.1313)
OKLCHoklch(54.76% 0.131 268.6)
XYZxyz(17.8333, 15.9375, 50.2707)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BBD #BDA351
analogous
#51A1BD #516BBD #6D51BD
triadic
#516BBD #BD516B #6BBD51
tetradic
#516BBD #BD51A1 #BDA351 #51BD6D
square
#516BBD #BD51A1 #BDA351 #51BD6D
split-complementary
#516BBD #BD6D51 #A1BD51
monochromatic
#29396B #395097 #516BBD #7D91CE #AAB6DF

Accessibility & contrast

On white

5.01
#516BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#516BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BBD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BBD#FFFFFF#000000##FFFFFF
##516BBD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#396BBB
Tritanopia (blue-blind)
#037D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bbd;
/* rgb */ color: rgb(81, 107, 189);
/* oklch */ color: oklch(54.8% 0.131 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a95d1',
    500: '#516bbd',
    950: '#000000',
  },
}
SCSS
$custom: #516bbd;
$custom-light: #8a95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#516bbd",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 225.556,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.13133,
    "h": 268.6
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#516BBD
secondary
#CCC19E
accent
#B553D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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