#516ABB#516ABB

#516ABB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.130 H 268.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#516ABB
RGBrgb(81, 106, 187)
HSLhsl(226, 44%, 53%)
HSVhsv(226, 57%, 73%)
CMYKcmyk(56.7%, 43.3%, 0%, 26.7%)
CIE-LABlab(46.50, 15.11, -45.60)
CIE-LCHlch(46.50, 48.04, 288.33°)
OKLaboklab(54.42% -0.0025 -0.1297)
OKLCHoklch(54.42% 0.13 268.9)
XYZxyz(17.5140, 15.6439, 49.1007)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ABB #BBA251
analogous
#519FBB #516ABB #6D51BB
triadic
#516ABB #BB516A #6ABB51
tetradic
#516ABB #BB519F #BBA251 #51BB6D
square
#516ABB #BB519F #BBA251 #51BB6D
split-complementary
#516ABB #BB6D51 #9FBB51
monochromatic
#293869 #3A4F95 #516ABB #7D90CC #A9B5DD

Accessibility & contrast

On white

5.09
#516ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#516ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516ABB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ABB#FFFFFF#000000##FFFFFF
##516ABB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#0B7C89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516abb;
/* rgb */ color: rgb(81, 106, 187);
/* oklch */ color: oklch(54.4% 0.130 268.9);
Tailwind
colors: {
  custom: {
    50: '#8a94d0',
    500: '#516abb',
    950: '#000000',
  },
}
SCSS
$custom: #516abb;
$custom-light: #8a94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516abb",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 225.849,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.12974,
    "h": 268.9
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#516ABB
secondary
#CBC09D
accent
#B654D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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