#516DEB#516DEB

#516DEB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.192 H 270.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#516DEB
RGBrgb(81, 109, 235)
HSLhsl(229, 79%, 62%)
HSVhsv(229, 66%, 92%)
CMYKcmyk(65.5%, 53.6%, 0%, 7.8%)
CIE-LABlab(50.31, 29.54, -66.83)
CIE-LCHlch(50.31, 73.07, 293.85°)
OKLaboklab(58.28% 0 -0.1921)
OKLCHoklch(58.28% 0.192 270)
XYZxyz(23.8523, 18.6826, 80.9302)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DEB #EBCF51
analogous
#51BAEB #516DEB #8251EB
triadic
#516DEB #EB516D #6DEB51
tetradic
#516DEB #EB51BA #EBCF51 #51EB82
square
#516DEB #EB51BA #EBCF51 #51EB82
split-complementary
#516DEB #EB8251 #BAEB51
monochromatic
#1430AE #1A3FE5 #516DEB #889BF1 #BFC9F8

Accessibility & contrast

On white

4.43
#516DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#516DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DEB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DEB#FFFFFF#000000##000000
##516DEB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7FEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516deb;
/* rgb */ color: rgb(81, 109, 235);
/* oklch */ color: oklch(58.3% 0.192 270.0);
Tailwind
colors: {
  custom: {
    50: '#9296f2',
    500: '#516deb',
    950: '#000000',
  },
}
SCSS
$custom: #516deb;
$custom-light: #9296f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516deb",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 229.091,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.1921,
    "h": 270
  },
  "luminance": 0.18685
}

Semantic roles & 50–950 ramp

primary
#516DEB
secondary
#E8DEB0
accent
#B60ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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