#516FBC#516FBC

#516FBC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.125 H 266.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#516FBC
RGBrgb(81, 111, 188)
HSLhsl(223, 44%, 53%)
HSVhsv(223, 57%, 74%)
CMYKcmyk(56.9%, 41%, 0%, 26.3%)
CIE-LABlab(47.94, 12.33, -43.90)
CIE-LCHlch(47.94, 45.60, 285.69°)
OKLaboklab(55.55% -0.0079 -0.1247)
OKLCHoklch(55.55% 0.125 266.4)
XYZxyz(18.1518, 16.7476, 49.8433)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBC #BC9E51
analogous
#51A4BC #516FBC #6951BC
triadic
#516FBC #BC516F #6FBC51
tetradic
#516FBC #BC51A4 #BC9E51 #51BC69
square
#516FBC #BC51A4 #BC9E51 #51BC69
split-complementary
#516FBC #BC6951 #A4BC51
monochromatic
#293B6A #3A5496 #516FBC #7D94CD #A9B8DE

Accessibility & contrast

On white

4.83
#516FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#516FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBC#FFFFFF#000000##FFFFFF
##516FBC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#04808C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516fbc;
/* rgb */ color: rgb(81, 111, 188);
/* oklch */ color: oklch(55.5% 0.125 266.4);
Tailwind
colors: {
  custom: {
    50: '#8a98d0',
    500: '#516fbc',
    950: '#000000',
  },
}
SCSS
$custom: #516fbc;
$custom-light: #8a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fbc",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 223.178,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.12491,
    "h": 266.4
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#516FBC
secondary
#CCBF9D
accent
#B054D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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