#516AF2#516AF2

#516AF2 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.2% C 0.205 H 270.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516AF2
RGBrgb(81, 106, 242)
HSLhsl(231, 86%, 63%)
HSVhsv(231, 67%, 95%)
CMYKcmyk(66.5%, 56.2%, 0%, 5.1%)
CIE-LABlab(50.06, 33.78, -71.17)
CIE-LCHlch(50.06, 78.78, 295.39°)
OKLaboklab(58.25% 0.0028 -0.2049)
OKLCHoklch(58.25% 0.205 270.8)
XYZxyz(24.5690, 18.4659, 86.2567)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AF2 #F2D951
analogous
#51BAF2 #516AF2 #8851F2
triadic
#516AF2 #F2516A #6AF251
tetradic
#516AF2 #F251BA #F2D951 #51F288
square
#516AF2 #F251BA #F2D951 #51F288
split-complementary
#516AF2 #F28851 #BAF251
monochromatic
#0E29BB #1839EE #516AF2 #8A9BF6 #C3CCFB

Accessibility & contrast

On white

4.47
#516AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#516AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516AF2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AF2#FFFFFF#000000##000000
##516AF21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516af2;
/* rgb */ color: rgb(81, 106, 242);
/* oklch */ color: oklch(58.2% 0.205 270.8);
Tailwind
colors: {
  custom: {
    50: '#9394f7',
    500: '#516af2',
    950: '#000000',
  },
}
SCSS
$custom: #516af2;
$custom-light: #9394f7;
$custom-dark: #000000;
JSON
{
  "hex": "#516af2",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 230.683,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.2049,
    "h": 270.8
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#516AF2
secondary
#ECE3B3
accent
#C003E3
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #516AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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