#516CBB#516CBB

#516CBB is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.8% C 0.127 H 267.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#516CBB
RGBrgb(81, 108, 187)
HSLhsl(225, 44%, 53%)
HSVhsv(225, 57%, 73%)
CMYKcmyk(56.7%, 42.2%, 0%, 26.7%)
CIE-LABlab(47.05, 13.86, -44.73)
CIE-LCHlch(47.05, 46.83, 287.22°)
OKLaboklab(54.85% -0.0048 -0.1271)
OKLCHoklch(54.85% 0.127 267.9)
XYZxyz(17.7225, 16.0610, 49.1702)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBB #BBA051
analogous
#51A1BB #516CBB #6B51BB
triadic
#516CBB #BB516C #6CBB51
tetradic
#516CBB #BB51A1 #BBA051 #51BB6B
square
#516CBB #BB51A1 #BBA051 #51BB6B
split-complementary
#516CBB #BB6B51 #A1BB51
monochromatic
#293969 #3A5195 #516CBB #7D91CC #A9B6DD

Accessibility & contrast

On white

4.99
#516CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#516CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CBB#FFFFFF#000000##FFFFFF
##516CBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#0A7D8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cbb;
/* rgb */ color: rgb(81, 108, 187);
/* oklch */ color: oklch(54.8% 0.127 267.9);
Tailwind
colors: {
  custom: {
    50: '#8a95d0',
    500: '#516cbb',
    950: '#000000',
  },
}
SCSS
$custom: #516cbb;
$custom-light: #8a95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516cbb",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 224.717,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.12722,
    "h": 267.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#516CBB
secondary
#CBBF9D
accent
#B354D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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