#516CE2#516CE2

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

Color values

HEX#516CE2
RGBrgb(81, 108, 226)
HSLhsl(229, 71%, 60%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.2%, 52.2%, 0%, 11.4%)
CIE-LABlab(49.45, 27.09, -63.17)
CIE-LCHlch(49.45, 68.73, 293.21°)
OKLaboklab(57.44% 0.0003 -0.1813)
OKLCHoklch(57.44% 0.181 270.1)
XYZxyz(22.4787, 17.9634, 74.2194)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CE2 #E2C751
analogous
#51B4E2 #516CE2 #7F51E2
triadic
#516CE2 #E2516C #6CE251
tetradic
#516CE2 #E251B4 #E2C751 #51E27F
square
#516CE2 #E251B4 #E2C751 #51E27F
split-complementary
#516CE2 #E27F51 #B4E251
monochromatic
#1A339E #2344D3 #516CE2 #8598EB #BAC5F3

Accessibility & contrast

On white

4.57
#516CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#516CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CE2#FFFFFF#000000##000000
##516CE21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ce2;
/* rgb */ color: rgb(81, 108, 226);
/* oklch */ color: oklch(57.4% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#9095ec',
    500: '#516ce2',
    950: '#000000',
  },
}
SCSS
$custom: #516ce2;
$custom-light: #9095ec;
$custom-dark: #000000;
JSON
{
  "hex": "#516ce2",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 228.828,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.18132,
    "h": 270.1
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#516CE2
secondary
#E3D9AC
accent
#AF12D3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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