#516BBE#516BBE

#516BBE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.133 H 268.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#516BBE
RGBrgb(81, 107, 190)
HSLhsl(226, 46%, 53%)
HSVhsv(226, 57%, 75%)
CMYKcmyk(57.4%, 43.7%, 0%, 25.5%)
CIE-LABlab(46.95, 15.49, -46.63)
CIE-LCHlch(46.95, 49.14, 288.38°)
OKLaboklab(54.82% -0.0031 -0.1327)
OKLCHoklch(54.82% 0.133 268.7)
XYZxyz(17.9422, 15.9810, 50.8444)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BBE #BEA451
analogous
#51A1BE #516BBE #6D51BE
triadic
#516BBE #BE516B #6BBE51
tetradic
#516BBE #BE51A1 #BEA451 #51BE6D
square
#516BBE #BE51A1 #BEA451 #51BE6D
split-complementary
#516BBE #BE6D51 #A1BE51
monochromatic
#28396C #395099 #516BBE #7E91CF #AAB7DF

Accessibility & contrast

On white

5.00
#516BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BBE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BBE#FFFFFF#000000##FFFFFF
##516BBE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516bbe;
/* rgb */ color: rgb(81, 107, 190);
/* oklch */ color: oklch(54.8% 0.133 268.7);
Tailwind
colors: {
  custom: {
    50: '#8a95d2',
    500: '#516bbe',
    950: '#000000',
  },
}
SCSS
$custom: #516bbe;
$custom-light: #8a95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#516bbe",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 225.688,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.13276,
    "h": 268.7
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#516BBE
secondary
#CDC29E
accent
#B653D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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