#516EE1#516EE1

#516EE1 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.178 H 269.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#516EE1
RGBrgb(81, 110, 225)
HSLhsl(228, 71%, 60%)
HSVhsv(228, 64%, 88%)
CMYKcmyk(64%, 51.1%, 0%, 11.8%)
CIE-LABlab(49.90, 25.50, -61.88)
CIE-LCHlch(49.90, 66.93, 292.40°)
OKLaboklab(57.76% -0.0016 -0.1775)
OKLCHoklch(57.76% 0.178 269.5)
XYZxyz(22.5553, 18.3354, 73.5700)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EE1 #E1C451
analogous
#51B6E1 #516EE1 #7C51E1
triadic
#516EE1 #E1516E #6EE151
tetradic
#516EE1 #E151B6 #E1C451 #51E17C
square
#516EE1 #E151B6 #E1C451 #51E17C
split-complementary
#516EE1 #E17C51 #B6E151
monochromatic
#1B359D #2447D1 #516EE1 #8599EA #B9C5F3

Accessibility & contrast

On white

4.50
#516EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#516EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EE1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EE1#FFFFFF#000000##000000
##516EE11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516ee1;
/* rgb */ color: rgb(81, 110, 225);
/* oklch */ color: oklch(57.8% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#9097eb',
    500: '#516ee1',
    950: '#000000',
  },
}
SCSS
$custom: #516ee1;
$custom-light: #9097eb;
$custom-dark: #000000;
JSON
{
  "hex": "#516ee1",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 225
  },
  "hsl": {
    "h": 227.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.17752,
    "h": 269.5
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#516EE1
secondary
#E3D7AB
accent
#C93AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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