#516BBC#516BBC

#516BBC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.130 H 268.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#516BBC
RGBrgb(81, 107, 188)
HSLhsl(225, 44%, 53%)
HSVhsv(225, 57%, 74%)
CMYKcmyk(56.9%, 43.1%, 0%, 26.3%)
CIE-LABlab(46.84, 14.82, -45.66)
CIE-LCHlch(46.84, 48.00, 287.98°)
OKLaboklab(54.7% -0.0034 -0.1299)
OKLCHoklch(54.7% 0.13 268.5)
XYZxyz(17.7251, 15.8942, 49.7010)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BBC #BCA251
analogous
#51A0BC #516BBC #6D51BC
triadic
#516BBC #BC516B #6BBC51
tetradic
#516BBC #BC51A0 #BCA251 #51BC6D
square
#516BBC #BC51A0 #BCA251 #51BC6D
split-complementary
#516BBC #BC6D51 #A0BC51
monochromatic
#29396A #3A5096 #516BBC #7D91CD #A9B6DE

Accessibility & contrast

On white

5.02
#516BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#516BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BBC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BBC#FFFFFF#000000##FFFFFF
##516BBC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#077D8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bbc;
/* rgb */ color: rgb(81, 107, 188);
/* oklch */ color: oklch(54.7% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a95d0',
    500: '#516bbc',
    950: '#000000',
  },
}
SCSS
$custom: #516bbc;
$custom-light: #8a95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516bbc",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 225.421,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.12991,
    "h": 268.5
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#516BBC
secondary
#CCC09D
accent
#B554D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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