#516CEB#516CEB

#516CEB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.193 H 270.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516CEB
RGBrgb(81, 108, 235)
HSLhsl(229, 79%, 62%)
HSVhsv(229, 66%, 92%)
CMYKcmyk(65.5%, 54%, 0%, 7.8%)
CIE-LABlab(50.06, 30.16, -67.24)
CIE-LCHlch(50.06, 73.70, 294.16°)
OKLaboklab(58.09% 0.0009 -0.1933)
OKLCHoklch(58.09% 0.193 270.3)
XYZxyz(23.7462, 18.4704, 80.8949)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CEB #EBD051
analogous
#51B9EB #516CEB #8351EB
triadic
#516CEB #EB516C #6CEB51
tetradic
#516CEB #EB51B9 #EBD051 #51EB83
square
#516CEB #EB51B9 #EBD051 #51EB83
split-complementary
#516CEB #EB8351 #B9EB51
monochromatic
#142FAE #1A3EE5 #516CEB #889AF1 #BFC9F8

Accessibility & contrast

On white

4.47
#516CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#516CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CEB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CEB#FFFFFF#000000##000000
##516CEB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEF
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516ceb;
/* rgb */ color: rgb(81, 108, 235);
/* oklch */ color: oklch(58.1% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#9295f2',
    500: '#516ceb',
    950: '#000000',
  },
}
SCSS
$custom: #516ceb;
$custom-light: #9295f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516ceb",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 229.481,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.19331,
    "h": 270.3
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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