#516FBD#516FBD

#516FBD is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.6% C 0.126 H 266.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#516FBD
RGBrgb(81, 111, 189)
HSLhsl(223, 45%, 53%)
HSVhsv(223, 57%, 74%)
CMYKcmyk(57.1%, 41.3%, 0%, 25.9%)
CIE-LABlab(48.00, 12.67, -44.39)
CIE-LCHlch(48.00, 46.16, 285.93°)
OKLaboklab(55.61% -0.0077 -0.1261)
OKLCHoklch(55.61% 0.126 266.5)
XYZxyz(18.2600, 16.7909, 50.4130)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBD #BD9F51
analogous
#51A5BD #516FBD #6951BD
triadic
#516FBD #BD516F #6FBD51
tetradic
#516FBD #BD51A5 #BD9F51 #51BD69
square
#516FBD #BD51A5 #BD9F51 #51BD69
split-complementary
#516FBD #BD6951 #A5BD51
monochromatic
#293B6B #395497 #516FBD #7D94CE #AAB8DF

Accessibility & contrast

On white

4.82
#516FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#516FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBD#FFFFFF#000000##FFFFFF
##516FBD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516fbd;
/* rgb */ color: rgb(81, 111, 189);
/* oklch */ color: oklch(55.6% 0.126 266.5);
Tailwind
colors: {
  custom: {
    50: '#8a98d1',
    500: '#516fbd',
    950: '#000000',
  },
}
SCSS
$custom: #516fbd;
$custom-light: #8a98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#516fbd",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 223.333,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12634,
    "h": 266.5
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#516FBD
secondary
#CCBF9E
accent
#B153D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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