#516FBA#516FBA

#516FBA is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.122 H 266.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#516FBA
RGBrgb(81, 111, 186)
HSLhsl(223, 43%, 52%)
HSVhsv(223, 56%, 73%)
CMYKcmyk(56.5%, 40.3%, 0%, 27.1%)
CIE-LABlab(47.83, 11.67, -42.91)
CIE-LCHlch(47.83, 44.47, 285.21°)
OKLaboklab(55.43% -0.0083 -0.1218)
OKLCHoklch(55.43% 0.122 266.1)
XYZxyz(17.9377, 16.6620, 48.7157)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBA #BA9C51
analogous
#51A4BA #516FBA #6751BA
triadic
#516FBA #BA516F #6FBA51
tetradic
#516FBA #BA51A4 #BA9C51 #51BA67
square
#516FBA #BA51A4 #BA9C51 #51BA67
split-complementary
#516FBA #BA6751 #A4BA51
monochromatic
#293B68 #3A5493 #516FBA #7D93CB #A9B8DD

Accessibility & contrast

On white

4.85
#516FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#516FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBA#FFFFFF#000000##FFFFFF
##516FBA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#0B7F8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516fba;
/* rgb */ color: rgb(81, 111, 186);
/* oklch */ color: oklch(55.4% 0.122 266.1);
Tailwind
colors: {
  custom: {
    50: '#8a98cf',
    500: '#516fba',
    950: '#000000',
  },
}
SCSS
$custom: #516fba;
$custom-light: #8a98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#516fba",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 222.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.12207,
    "h": 266.1
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#516FBA
secondary
#CABD9D
accent
#AF55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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