#516EEB#516EEB

#516EEB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.191 H 269.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#516EEB
RGBrgb(81, 110, 235)
HSLhsl(229, 79%, 62%)
HSVhsv(229, 66%, 92%)
CMYKcmyk(65.5%, 53.2%, 0%, 7.8%)
CIE-LABlab(50.57, 28.93, -66.42)
CIE-LCHlch(50.57, 72.45, 293.53°)
OKLaboklab(58.47% -0.0009 -0.1909)
OKLCHoklch(58.47% 0.191 269.7)
XYZxyz(23.9596, 18.8971, 80.9660)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EEB #EBCE51
analogous
#51BBEB #516EEB #8151EB
triadic
#516EEB #EB516E #6EEB51
tetradic
#516EEB #EB51BB #EBCE51 #51EB81
square
#516EEB #EB51BB #EBCE51 #51EB81
split-complementary
#516EEB #EB8151 #BBEB51
monochromatic
#1431AE #1A40E5 #516EEB #889CF1 #BFC9F8

Accessibility & contrast

On white

4.39
#516EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#516EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EEB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EEB#FFFFFF#000000##000000
##516EEB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380EF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516eeb;
/* rgb */ color: rgb(81, 110, 235);
/* oklch */ color: oklch(58.5% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#9297f2',
    500: '#516eeb',
    950: '#000000',
  },
}
SCSS
$custom: #516eeb;
$custom-light: #9297f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516eeb",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 228.701,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.19088,
    "h": 269.7
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#516EEB
secondary
#E8DEB0
accent
#B40ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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