#516BBA#516BBA

#516BBA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.127 H 268.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#516BBA
RGBrgb(81, 107, 186)
HSLhsl(225, 43%, 52%)
HSVhsv(225, 56%, 73%)
CMYKcmyk(56.5%, 42.5%, 0%, 27.1%)
CIE-LABlab(46.72, 14.15, -44.68)
CIE-LCHlch(46.72, 46.86, 287.58°)
OKLaboklab(54.57% -0.0038 -0.127)
OKLCHoklch(54.57% 0.127 268.3)
XYZxyz(17.5110, 15.8086, 48.5734)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BBA #BAA051
analogous
#519FBA #516BBA #6C51BA
triadic
#516BBA #BA516B #6BBA51
tetradic
#516BBA #BA519F #BAA051 #51BA6C
square
#516BBA #BA519F #BAA051 #51BA6C
split-complementary
#516BBA #BA6C51 #9FBA51
monochromatic
#293968 #3A5093 #516BBA #7D90CB #A9B6DD

Accessibility & contrast

On white

5.05
#516BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#516BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BBA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BBA#FFFFFF#000000##FFFFFF
##516BBA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#0E7C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bba;
/* rgb */ color: rgb(81, 107, 186);
/* oklch */ color: oklch(54.6% 0.127 268.3);
Tailwind
colors: {
  custom: {
    50: '#8a95cf',
    500: '#516bba',
    950: '#000000',
  },
}
SCSS
$custom: #516bba;
$custom-light: #8a95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#516bba",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 186
  },
  "hsl": {
    "h": 225.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.12705,
    "h": 268.3
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#516BBA
secondary
#CABF9D
accent
#B455D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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