#516DBA#516DBA

#516DBA is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.0% C 0.125 H 267.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#516DBA
RGBrgb(81, 109, 186)
HSLhsl(224, 43%, 52%)
HSVhsv(224, 56%, 73%)
CMYKcmyk(56.5%, 41.4%, 0%, 27.1%)
CIE-LABlab(47.28, 12.91, -43.80)
CIE-LCHlch(47.28, 45.66, 286.42°)
OKLaboklab(55% -0.0061 -0.1244)
OKLCHoklch(55% 0.125 267.2)
XYZxyz(17.7219, 16.2304, 48.6438)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DBA #BA9E51
analogous
#51A2BA #516DBA #6A51BA
triadic
#516DBA #BA516D #6DBA51
tetradic
#516DBA #BA51A2 #BA9E51 #51BA6A
square
#516DBA #BA51A2 #BA9E51 #51BA6A
split-complementary
#516DBA #BA6A51 #A2BA51
monochromatic
#293A68 #3A5293 #516DBA #7D92CB #A9B7DD

Accessibility & contrast

On white

4.95
#516DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DBA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DBA#FFFFFF#000000##FFFFFF
##516DBA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#0C7E8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516dba;
/* rgb */ color: rgb(81, 109, 186);
/* oklch */ color: oklch(55.0% 0.125 267.2);
Tailwind
colors: {
  custom: {
    50: '#8a96cf',
    500: '#516dba',
    950: '#000000',
  },
}
SCSS
$custom: #516dba;
$custom-light: #8a96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#516dba",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 224,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.12454,
    "h": 267.2
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#516DBA
secondary
#CABE9D
accent
#B155D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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