#516FE1#516FE1

#516FE1 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.176 H 269.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#516FE1
RGBrgb(81, 111, 225)
HSLhsl(228, 71%, 60%)
HSVhsv(228, 64%, 88%)
CMYKcmyk(64%, 50.7%, 0%, 11.8%)
CIE-LABlab(50.16, 24.88, -61.46)
CIE-LCHlch(50.16, 66.31, 292.04°)
OKLaboklab(57.96% -0.0025 -0.1763)
OKLCHoklch(57.96% 0.176 269.2)
XYZxyz(22.6638, 18.5524, 73.6062)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE1 #E1C351
analogous
#51B7E1 #516FE1 #7B51E1
triadic
#516FE1 #E1516F #6FE151
tetradic
#516FE1 #E151B7 #E1C351 #51E17B
square
#516FE1 #E151B7 #E1C351 #51E17B
split-complementary
#516FE1 #E17B51 #B7E151
monochromatic
#1B369D #2448D1 #516FE1 #859AEA #B9C5F3

Accessibility & contrast

On white

4.46
#516FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#516FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE1#FFFFFF#000000##000000
##516FE11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7EE5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516fe1;
/* rgb */ color: rgb(81, 111, 225);
/* oklch */ color: oklch(58.0% 0.176 269.2);
Tailwind
colors: {
  custom: {
    50: '#9097eb',
    500: '#516fe1',
    950: '#000000',
  },
}
SCSS
$custom: #516fe1;
$custom-light: #9097eb;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe1",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 227.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.17629,
    "h": 269.2
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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