#516FBB#516FBB

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

Color values

HEX#516FBB
RGBrgb(81, 111, 187)
HSLhsl(223, 44%, 53%)
HSVhsv(223, 57%, 73%)
CMYKcmyk(56.7%, 40.6%, 0%, 26.7%)
CIE-LABlab(47.89, 12.00, -43.41)
CIE-LCHlch(47.89, 45.03, 285.45°)
OKLaboklab(55.49% -0.0081 -0.1232)
OKLCHoklch(55.49% 0.123 266.2)
XYZxyz(18.0444, 16.7047, 49.2775)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBB #BB9D51
analogous
#51A4BB #516FBB #6851BB
triadic
#516FBB #BB516F #6FBB51
tetradic
#516FBB #BB51A4 #BB9D51 #51BB68
square
#516FBB #BB51A4 #BB9D51 #51BB68
split-complementary
#516FBB #BB6851 #A4BB51
monochromatic
#293B69 #3A5495 #516FBB #7D93CC #A9B8DD

Accessibility & contrast

On white

4.84
#516FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#516FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBB#FFFFFF#000000##FFFFFF
##516FBB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#07808C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516fbb;
/* rgb */ color: rgb(81, 111, 187);
/* oklch */ color: oklch(55.5% 0.123 266.2);
Tailwind
colors: {
  custom: {
    50: '#8a98d0',
    500: '#516fbb',
    950: '#000000',
  },
}
SCSS
$custom: #516fbb;
$custom-light: #8a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fbb",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 223.019,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.12349,
    "h": 266.2
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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