#516EF2#516EF2

#516EF2 is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.0% C 0.200 H 269.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#516EF2
RGBrgb(81, 110, 242)
HSLhsl(229, 86%, 63%)
HSVhsv(229, 67%, 95%)
CMYKcmyk(66.5%, 54.5%, 0%, 5.1%)
CIE-LABlab(51.05, 31.32, -69.56)
CIE-LCHlch(51.05, 76.29, 294.24°)
OKLaboklab(58.99% -0.0005 -0.2001)
OKLCHoklch(58.99% 0.2 269.9)
XYZxyz(24.9908, 19.3096, 86.3973)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EF2 #F2D551
analogous
#51BEF2 #516EF2 #8551F2
triadic
#516EF2 #F2516E #6EF251
tetradic
#516EF2 #F251BE #F2D551 #51F285
square
#516EF2 #F251BE #F2D551 #51F285
split-complementary
#516EF2 #F28551 #BEF251
monochromatic
#0E2DBB #183FEE #516EF2 #8A9DF6 #C3CDFB

Accessibility & contrast

On white

4.32
#516EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#516EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EF2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EF2#FFFFFF#000000##000000
##516EF21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #516ef2;
/* rgb */ color: rgb(81, 110, 242);
/* oklch */ color: oklch(59.0% 0.200 269.9);
Tailwind
colors: {
  custom: {
    50: '#9397f7',
    500: '#516ef2',
    950: '#000000',
  },
}
SCSS
$custom: #516ef2;
$custom-light: #9397f7;
$custom-dark: #000000;
JSON
{
  "hex": "#516ef2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 229.193,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.20011,
    "h": 269.9
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#516EF2
secondary
#ECE2B3
accent
#BA03E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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