#516CE4#516CE4

#516CE4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.6% C 0.184 H 270.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#516CE4
RGBrgb(81, 108, 228)
HSLhsl(229, 73%, 61%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.5%, 52.6%, 0%, 10.6%)
CIE-LABlab(49.59, 27.77, -64.08)
CIE-LCHlch(49.59, 69.84, 293.43°)
OKLaboklab(57.58% 0.0004 -0.184)
OKLCHoklch(57.58% 0.184 270.1)
XYZxyz(22.7547, 18.0738, 75.6732)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CE4 #E4C951
analogous
#51B5E4 #516CE4 #8051E4
triadic
#516CE4 #E4516C #6CE451
tetradic
#516CE4 #E451B5 #E4C951 #51E480
square
#516CE4 #E451B5 #E4C951 #51E480
split-complementary
#516CE4 #E48051 #B5E451
monochromatic
#1932A2 #2143D7 #516CE4 #8699EC #BBC6F4

Accessibility & contrast

On white

4.55
#516CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#516CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CE4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CE4#FFFFFF#000000##000000
##516CE41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE8
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ce4;
/* rgb */ color: rgb(81, 108, 228);
/* oklch */ color: oklch(57.6% 0.184 270.1);
Tailwind
colors: {
  custom: {
    50: '#9095ed',
    500: '#516ce4',
    950: '#000000',
  },
}
SCSS
$custom: #516ce4;
$custom-light: #9095ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516ce4",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 228.98,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.18401,
    "h": 270.1
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#516CE4
secondary
#E4DAAC
accent
#B110D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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