#516DBE#516DBE

#516DBE is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.130 H 267.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#516DBE
RGBrgb(81, 109, 190)
HSLhsl(225, 46%, 53%)
HSVhsv(225, 57%, 75%)
CMYKcmyk(57.4%, 42.6%, 0%, 25.5%)
CIE-LABlab(47.50, 14.24, -45.76)
CIE-LCHlch(47.50, 47.92, 287.29°)
OKLaboklab(55.24% -0.0053 -0.1301)
OKLCHoklch(55.24% 0.13 267.7)
XYZxyz(18.1531, 16.4029, 50.9147)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DBE #BEA251
analogous
#51A3BE #516DBE #6B51BE
triadic
#516DBE #BE516D #6DBE51
tetradic
#516DBE #BE51A3 #BEA251 #51BE6B
square
#516DBE #BE51A3 #BEA251 #51BE6B
split-complementary
#516DBE #BE6B51 #A3BE51
monochromatic
#283A6C #395299 #516DBE #7E92CF #AAB8DF

Accessibility & contrast

On white

4.91
#516DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#516DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DBE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DBE#FFFFFF#000000##FFFFFF
##516DBE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C1
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516dbe;
/* rgb */ color: rgb(81, 109, 190);
/* oklch */ color: oklch(55.2% 0.130 267.7);
Tailwind
colors: {
  custom: {
    50: '#8a96d2',
    500: '#516dbe',
    950: '#000000',
  },
}
SCSS
$custom: #516dbe;
$custom-light: #8a96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#516dbe",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 224.587,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.13024,
    "h": 267.7
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#516DBE
secondary
#CDC19E
accent
#B453D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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