#516CF4#516CF4

#516CF4 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 58.8% C 0.205 H 270.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#516CF4
RGBrgb(81, 108, 244)
HSLhsl(230, 88%, 64%)
HSVhsv(230, 67%, 96%)
CMYKcmyk(66.8%, 55.7%, 0%, 4.3%)
CIE-LABlab(50.69, 33.23, -71.25)
CIE-LCHlch(50.69, 78.62, 295.01°)
OKLaboklab(58.77% 0.0013 -0.2051)
OKLCHoklch(58.77% 0.205 270.3)
XYZxyz(25.0795, 19.0037, 87.9168)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CF4 #F4D951
analogous
#51BEF4 #516CF4 #8751F4
triadic
#516CF4 #F4516C #6CF451
tetradic
#516CF4 #F451BE #F4D951 #51F487
square
#516CF4 #F451BE #F4D951 #51F487
split-complementary
#516CF4 #F48751 #BEF451
monochromatic
#0C2ABF #173BF0 #516CF4 #8B9DF8 #C4CDFB

Accessibility & contrast

On white

4.37
#516CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#516CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CF4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CF4#FFFFFF#000000##000000
##516CF41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #516cf4;
/* rgb */ color: rgb(81, 108, 244);
/* oklch */ color: oklch(58.8% 0.205 270.3);
Tailwind
colors: {
  custom: {
    50: '#9395f9',
    500: '#516cf4',
    950: '#000000',
  },
}
SCSS
$custom: #516cf4;
$custom-light: #9395f9;
$custom-dark: #000000;
JSON
{
  "hex": "#516cf4",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 230.061,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.20511,
    "h": 270.3
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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