#516FF0#516FF0

#516FF0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.196 H 269.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#516FF0
RGBrgb(81, 111, 240)
HSLhsl(229, 84%, 63%)
HSVhsv(229, 66%, 94%)
CMYKcmyk(66.3%, 53.8%, 0%, 5.9%)
CIE-LABlab(51.16, 30.02, -68.26)
CIE-LCHlch(51.16, 74.57, 293.74°)
OKLaboklab(59.03% -0.0014 -0.1963)
OKLCHoklch(59.03% 0.196 269.6)
XYZxyz(24.8006, 19.4071, 84.8601)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FF0 #F0D251
analogous
#51BFF0 #516FF0 #8251F0
triadic
#516FF0 #F0516F #6FF051
tetradic
#516FF0 #F051BF #F0D251 #51F082
square
#516FF0 #F051BF #F0D251 #51F082
split-complementary
#516FF0 #F08251 #BFF051
monochromatic
#102FB7 #1940EB #516FF0 #899EF5 #C2CCFA

Accessibility & contrast

On white

4.30
#516FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#516FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FF0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FF0#FFFFFF#000000##000000
##516FF01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0481F4
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #516ff0;
/* rgb */ color: rgb(81, 111, 240);
/* oklch */ color: oklch(59.0% 0.196 269.6);
Tailwind
colors: {
  custom: {
    50: '#9298f6',
    500: '#516ff0',
    950: '#000000',
  },
}
SCSS
$custom: #516ff0;
$custom-light: #9298f6;
$custom-dark: #000000;
JSON
{
  "hex": "#516ff0",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 228.679,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.19628,
    "h": 269.6
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#516FF0
secondary
#EBE0B2
accent
#B705E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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