#516CE3#516CE3

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

Color values

HEX#516CE3
RGBrgb(81, 108, 227)
HSLhsl(229, 72%, 60%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.3%, 52.4%, 0%, 11%)
CIE-LABlab(49.52, 27.43, -63.62)
CIE-LCHlch(49.52, 69.28, 293.32°)
OKLaboklab(57.51% 0.0004 -0.1827)
OKLCHoklch(57.51% 0.183 270.1)
XYZxyz(22.6163, 18.0185, 74.9442)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CE3 #E3C851
analogous
#51B5E3 #516CE3 #7F51E3
triadic
#516CE3 #E3516C #6CE351
tetradic
#516CE3 #E351B5 #E3C851 #51E37F
square
#516CE3 #E351B5 #E3C851 #51E37F
split-complementary
#516CE3 #E37F51 #B5E351
monochromatic
#1A33A0 #2243D5 #516CE3 #8699EB #BAC5F4

Accessibility & contrast

On white

4.56
#516CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#516CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CE3#FFFFFF#000000##000000
##516CE31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ce3;
/* rgb */ color: rgb(81, 108, 227);
/* oklch */ color: oklch(57.5% 0.183 270.1);
Tailwind
colors: {
  custom: {
    50: '#9095ed',
    500: '#516ce3',
    950: '#000000',
  },
}
SCSS
$custom: #516ce3;
$custom-light: #9095ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516ce3",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 228.904,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.18267,
    "h": 270.1
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#516CE3
secondary
#E4D9AC
accent
#B011D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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