#516CE7#516CE7

#516CE7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.188 H 270.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516CE7
RGBrgb(81, 108, 231)
HSLhsl(229, 76%, 61%)
HSVhsv(229, 65%, 91%)
CMYKcmyk(64.9%, 53.2%, 0%, 9.4%)
CIE-LABlab(49.79, 28.80, -65.44)
CIE-LCHlch(49.79, 71.49, 293.75°)
OKLaboklab(57.8% 0.0006 -0.188)
OKLCHoklch(57.8% 0.188 270.2)
XYZxyz(23.1748, 18.2419, 77.8855)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CE7 #E7CC51
analogous
#51B7E7 #516CE7 #8151E7
triadic
#516CE7 #E7516C #6CE751
tetradic
#516CE7 #E751B7 #E7CC51 #51E781
square
#516CE7 #E751B7 #E7CC51 #51E781
split-complementary
#516CE7 #E78151 #B7E751
monochromatic
#1731A7 #1E41DC #516CE7 #8799EE #BDC7F6

Accessibility & contrast

On white

4.52
#516CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#516CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CE7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CE7#FFFFFF#000000##000000
##516CE71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#137DEB
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ce7;
/* rgb */ color: rgb(81, 108, 231);
/* oklch */ color: oklch(57.8% 0.188 270.2);
Tailwind
colors: {
  custom: {
    50: '#9195ef',
    500: '#516ce7',
    950: '#000000',
  },
}
SCSS
$custom: #516ce7;
$custom-light: #9195ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516ce7",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 229.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.18801,
    "h": 270.2
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#516CE7
secondary
#E6DCAE
accent
#B40ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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