#516FF5#516FF5

#516FF5 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.4% C 0.203 H 269.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516FF5
RGBrgb(81, 111, 245)
HSLhsl(229, 89%, 64%)
HSVhsv(229, 67%, 96%)
CMYKcmyk(66.9%, 54.7%, 0%, 3.9%)
CIE-LABlab(51.51, 31.73, -70.49)
CIE-LCHlch(51.51, 77.30, 294.24°)
OKLaboklab(59.4% -0.0011 -0.2028)
OKLCHoklch(59.4% 0.203 269.7)
XYZxyz(25.5536, 19.7083, 88.8259)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FF5 #F5D751
analogous
#51C1F5 #516FF5 #8551F5
triadic
#516FF5 #F5516F #6FF551
tetradic
#516FF5 #F551C1 #F5D751 #51F585
square
#516FF5 #F551C1 #F5D751 #51F585
split-complementary
#516FF5 #F58551 #C1F551
monochromatic
#0B2CC1 #173FF2 #516FF5 #8B9FF8 #C5CFFC

Accessibility & contrast

On white

4.25
#516FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#516FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FF5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FF5#FFFFFF#000000##000000
##516FF51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #516ff5;
/* rgb */ color: rgb(81, 111, 245);
/* oklch */ color: oklch(59.4% 0.203 269.7);
Tailwind
colors: {
  custom: {
    50: '#9398f9',
    500: '#516ff5',
    950: '#000000',
  },
}
SCSS
$custom: #516ff5;
$custom-light: #9398f9;
$custom-dark: #000000;
JSON
{
  "hex": "#516ff5",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 229.024,
    "s": 89.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.20283,
    "h": 269.7
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#516FF5
secondary
#EEE3B4
accent
#BC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #516FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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