#516CBE#516CBE

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

Color values

HEX#516CBE
RGBrgb(81, 108, 190)
HSLhsl(225, 46%, 53%)
HSVhsv(225, 57%, 75%)
CMYKcmyk(57.4%, 43.2%, 0%, 25.5%)
CIE-LABlab(47.22, 14.87, -46.19)
CIE-LCHlch(47.22, 48.53, 287.84°)
OKLaboklab(55.03% -0.0042 -0.1314)
OKLCHoklch(55.03% 0.131 268.2)
XYZxyz(18.0471, 16.1908, 50.8793)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBE #BEA351
analogous
#51A2BE #516CBE #6C51BE
triadic
#516CBE #BE516C #6CBE51
tetradic
#516CBE #BE51A2 #BEA351 #51BE6C
square
#516CBE #BE51A2 #BEA351 #51BE6C
split-complementary
#516CBE #BE6C51 #A2BE51
monochromatic
#28396C #395199 #516CBE #7E92CF #AAB7DF

Accessibility & contrast

On white

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

On black

4.24
#516CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516CBE#FFFFFF#000000##FFFFFF
##516CBE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516cbe;
/* rgb */ color: rgb(81, 108, 190);
/* oklch */ color: oklch(55.0% 0.131 268.2);
Tailwind
colors: {
  custom: {
    50: '#8a95d2',
    500: '#516cbe',
    950: '#000000',
  },
}
SCSS
$custom: #516cbe;
$custom-light: #8a95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#516cbe",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 225.138,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.13149,
    "h": 268.2
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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