#516BF2#516BF2

#516BF2 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.4% C 0.204 H 270.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#516BF2
RGBrgb(81, 107, 242)
HSLhsl(230, 86%, 63%)
HSVhsv(230, 67%, 95%)
CMYKcmyk(66.5%, 55.8%, 0%, 5.1%)
CIE-LABlab(50.30, 33.17, -70.77)
CIE-LCHlch(50.30, 78.15, 295.11°)
OKLaboklab(58.43% 0.002 -0.2037)
OKLCHoklch(58.43% 0.204 270.6)
XYZxyz(24.6726, 18.6732, 86.2912)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BF2 #F2D851
analogous
#51BBF2 #516BF2 #8851F2
triadic
#516BF2 #F2516B #6BF251
tetradic
#516BF2 #F251BB #F2D851 #51F288
square
#516BF2 #F251BB #F2D851 #51F288
split-complementary
#516BF2 #F28851 #BBF251
monochromatic
#0E2ABB #183BEE #516BF2 #8A9BF6 #C3CCFB

Accessibility & contrast

On white

4.43
#516BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#516BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516BF2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BF2#FFFFFF#000000##000000
##516BF21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516bf2;
/* rgb */ color: rgb(81, 107, 242);
/* oklch */ color: oklch(58.4% 0.204 270.6);
Tailwind
colors: {
  custom: {
    50: '#9395f7',
    500: '#516bf2',
    950: '#000000',
  },
}
SCSS
$custom: #516bf2;
$custom-light: #9395f7;
$custom-dark: #000000;
JSON
{
  "hex": "#516bf2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 230.311,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.20371,
    "h": 270.6
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#516BF2
secondary
#ECE3B3
accent
#BE03E3
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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