#516CBC#516CBC

#516CBC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.129 H 268.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#516CBC
RGBrgb(81, 108, 188)
HSLhsl(225, 44%, 53%)
HSVhsv(225, 57%, 74%)
CMYKcmyk(56.9%, 42.6%, 0%, 26.3%)
CIE-LABlab(47.11, 14.20, -45.22)
CIE-LCHlch(47.11, 47.39, 287.43°)
OKLaboklab(54.91% -0.0046 -0.1286)
OKLCHoklch(54.91% 0.129 268)
XYZxyz(17.8300, 16.1039, 49.7360)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBC #BCA151
analogous
#51A1BC #516CBC #6C51BC
triadic
#516CBC #BC516C #6CBC51
tetradic
#516CBC #BC51A1 #BCA151 #51BC6C
square
#516CBC #BC51A1 #BCA151 #51BC6C
split-complementary
#516CBC #BC6C51 #A1BC51
monochromatic
#29396A #3A5196 #516CBC #7D91CD #A9B7DE

Accessibility & contrast

On white

4.98
#516CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#516CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CBC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CBC#FFFFFF#000000##FFFFFF
##516CBC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#067E8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cbc;
/* rgb */ color: rgb(81, 108, 188);
/* oklch */ color: oklch(54.9% 0.129 268.0);
Tailwind
colors: {
  custom: {
    50: '#8a95d0',
    500: '#516cbc',
    950: '#000000',
  },
}
SCSS
$custom: #516cbc;
$custom-light: #8a95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516cbc",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 224.86,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.12864,
    "h": 268
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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