#516BF4#516BF4

#516BF4 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 58.6% C 0.206 H 270.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#516BF4
RGBrgb(81, 107, 244)
HSLhsl(230, 88%, 64%)
HSVhsv(230, 67%, 96%)
CMYKcmyk(66.8%, 56.1%, 0%, 4.3%)
CIE-LABlab(50.45, 33.85, -71.65)
CIE-LCHlch(50.45, 79.24, 295.29°)
OKLaboklab(58.58% 0.0021 -0.2063)
OKLCHoklch(58.58% 0.206 270.6)
XYZxyz(24.9746, 18.7940, 87.8819)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BF4 #F4DA51
analogous
#51BDF4 #516BF4 #8851F4
triadic
#516BF4 #F4516B #6BF451
tetradic
#516BF4 #F451BD #F4DA51 #51F488
square
#516BF4 #F451BD #F4DA51 #51F488
split-complementary
#516BF4 #F48851 #BDF451
monochromatic
#0C29BF #173AF0 #516BF4 #8B9CF8 #C4CDFB

Accessibility & contrast

On white

4.41
#516BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#516BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516BF4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BF4#FFFFFF#000000##000000
##516BF41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0071F1
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516bf4;
/* rgb */ color: rgb(81, 107, 244);
/* oklch */ color: oklch(58.6% 0.206 270.6);
Tailwind
colors: {
  custom: {
    50: '#9395f9',
    500: '#516bf4',
    950: '#000000',
  },
}
SCSS
$custom: #516bf4;
$custom-light: #9395f9;
$custom-dark: #000000;
JSON
{
  "hex": "#516bf4",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 230.429,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.20631,
    "h": 270.6
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#516BF4
secondary
#EDE4B4
accent
#C001E5
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #516BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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