#516BE2#516BE2

#516BE2 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.183 H 270.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#516BE2
RGBrgb(81, 107, 226)
HSLhsl(229, 71%, 60%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.2%, 52.7%, 0%, 11.4%)
CIE-LABlab(49.20, 27.71, -63.58)
CIE-LCHlch(49.20, 69.36, 293.55°)
OKLaboklab(57.25% 0.0012 -0.1825)
OKLCHoklch(57.25% 0.183 270.4)
XYZxyz(22.3739, 17.7537, 74.1845)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BE2 #E2C851
analogous
#51B4E2 #516BE2 #7F51E2
triadic
#516BE2 #E2516B #6BE251
tetradic
#516BE2 #E251B4 #E2C851 #51E27F
square
#516BE2 #E251B4 #E2C851 #51E27F
split-complementary
#516BE2 #E27F51 #B4E251
monochromatic
#1A329E #2343D3 #516BE2 #8598EB #BAC4F3

Accessibility & contrast

On white

4.61
#516BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#516BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516BE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BE2#FFFFFF#000000##FFFFFF
##516BE21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C7CE6
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516be2;
/* rgb */ color: rgb(81, 107, 226);
/* oklch */ color: oklch(57.2% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#9095ec',
    500: '#516be2',
    950: '#000000',
  },
}
SCSS
$custom: #516be2;
$custom-light: #9095ec;
$custom-dark: #000000;
JSON
{
  "hex": "#516be2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 229.241,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.18255,
    "h": 270.4
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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