#516CBF#516CBF

#516CBF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.133 H 268.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516CBF
RGBrgb(81, 108, 191)
HSLhsl(225, 46%, 53%)
HSVhsv(225, 58%, 75%)
CMYKcmyk(57.6%, 43.5%, 0%, 25.1%)
CIE-LABlab(47.28, 15.20, -46.68)
CIE-LCHlch(47.28, 49.09, 288.04°)
OKLaboklab(55.09% -0.004 -0.1328)
OKLCHoklch(55.09% 0.133 268.3)
XYZxyz(18.1567, 16.2346, 51.4569)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBF #BFA451
analogous
#51A3BF #516CBF #6D51BF
triadic
#516CBF #BF516C #6CBF51
tetradic
#516CBF #BF51A3 #BFA451 #51BF6D
square
#516CBF #BF51A3 #BFA451 #51BF6D
split-complementary
#516CBF #BF6D51 #A3BF51
monochromatic
#28396D #39519A #516CBF #7E92CF #AAB8E0

Accessibility & contrast

On white

4.94
#516CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CBF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CBF#FFFFFF#000000##FFFFFF
##516CBF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cbf;
/* rgb */ color: rgb(81, 108, 191);
/* oklch */ color: oklch(55.1% 0.133 268.3);
Tailwind
colors: {
  custom: {
    50: '#8a95d3',
    500: '#516cbf',
    950: '#000000',
  },
}
SCSS
$custom: #516cbf;
$custom-light: #8a95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516cbf",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 225.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.13291,
    "h": 268.3
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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