#516AE6#516AE6

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

Color values

HEX#516AE6
RGBrgb(81, 106, 230)
HSLhsl(230, 75%, 61%)
HSVhsv(230, 65%, 90%)
CMYKcmyk(64.8%, 53.9%, 0%, 9.8%)
CIE-LABlab(49.21, 29.69, -65.81)
CIE-LCHlch(49.21, 72.19, 294.29°)
OKLaboklab(57.35% 0.0023 -0.1891)
OKLCHoklch(57.35% 0.189 270.7)
XYZxyz(22.8255, 17.7685, 77.0743)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AE6 #E6CD51
analogous
#51B4E6 #516AE6 #8251E6
triadic
#516AE6 #E6516A #6AE651
tetradic
#516AE6 #E651B4 #E6CD51 #51E682
square
#516AE6 #E651B4 #E6CD51 #51E682
split-complementary
#516AE6 #E68251 #B4E651
monochromatic
#182FA5 #1F3FDA #516AE6 #8798EE #BCC6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516AE6#FFFFFF#000000##FFFFFF
##516AE61.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)
#077CEA
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ae6;
/* rgb */ color: rgb(81, 106, 230);
/* oklch */ color: oklch(57.3% 0.189 270.7);
Tailwind
colors: {
  custom: {
    50: '#9194ef',
    500: '#516ae6',
    950: '#000000',
  },
}
SCSS
$custom: #516ae6;
$custom-light: #9194ef;
$custom-dark: #000000;
JSON
{
  "hex": "#516ae6",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 229.933,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.18912,
    "h": 270.7
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#516AE6
secondary
#E5DCAD
accent
#B50ED7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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