#516BB9#516BB9

#516BB9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.126 H 268.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#516BB9
RGBrgb(81, 107, 185)
HSLhsl(225, 43%, 52%)
HSVhsv(225, 56%, 73%)
CMYKcmyk(56.2%, 42.2%, 0%, 27.5%)
CIE-LABlab(46.67, 13.82, -44.19)
CIE-LCHlch(46.67, 46.30, 287.37°)
OKLaboklab(54.51% -0.004 -0.1255)
OKLCHoklch(54.51% 0.126 268.2)
XYZxyz(17.4051, 15.7662, 48.0155)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB9 #B99F51
analogous
#519FB9 #516BB9 #6B51B9
triadic
#516BB9 #B9516B #6BB951
tetradic
#516BB9 #B9519F #B99F51 #51B96B
square
#516BB9 #B9519F #B99F51 #51B96B
split-complementary
#516BB9 #B96B51 #9FB951
monochromatic
#293866 #3B5192 #516BB9 #7D90CB #A8B5DC

Accessibility & contrast

On white

5.06
#516BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#516BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB9#FFFFFF#000000##FFFFFF
##516BB91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#107C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bb9;
/* rgb */ color: rgb(81, 107, 185);
/* oklch */ color: oklch(54.5% 0.126 268.2);
Tailwind
colors: {
  custom: {
    50: '#8a95ce',
    500: '#516bb9',
    950: '#000000',
  },
}
SCSS
$custom: #516bb9;
$custom-light: #8a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb9",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 225,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.12561,
    "h": 268.2
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#516BB9
secondary
#CABE9C
accent
#B355D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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