#516CE6#516CE6

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

Color values

HEX#516CE6
RGBrgb(81, 108, 230)
HSLhsl(229, 75%, 61%)
HSVhsv(229, 65%, 90%)
CMYKcmyk(64.8%, 53%, 0%, 9.8%)
CIE-LABlab(49.72, 28.45, -64.99)
CIE-LCHlch(49.72, 70.94, 293.65°)
OKLaboklab(57.73% 0.0006 -0.1867)
OKLCHoklch(57.73% 0.187 270.2)
XYZxyz(23.0340, 18.1855, 77.1439)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CE6 #E6CB51
analogous
#51B6E6 #516CE6 #8151E6
triadic
#516CE6 #E6516C #6CE651
tetradic
#516CE6 #E651B6 #E6CB51 #51E681
square
#516CE6 #E651B6 #E6CB51 #51E681
split-complementary
#516CE6 #E68151 #B6E651
monochromatic
#1831A5 #1F41DA #516CE6 #8799EE #BCC6F5

Accessibility & contrast

On white

4.53
#516CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#516CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CE6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CE6#FFFFFF#000000##000000
##516CE61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#167DEA
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ce6;
/* rgb */ color: rgb(81, 108, 230);
/* oklch */ color: oklch(57.7% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#9195ef',
    500: '#516ce6',
    950: '#000000',
  },
}
SCSS
$custom: #516ce6;
$custom-light: #9195ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516ce6",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 229.128,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.18668,
    "h": 270.2
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#516CE6
secondary
#E5DBAD
accent
#B30ED7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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