#516BE3#516BE3

#516BE3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.184 H 270.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516BE3
RGBrgb(81, 107, 227)
HSLhsl(229, 72%, 60%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.3%, 52.9%, 0%, 11%)
CIE-LABlab(49.26, 28.05, -64.04)
CIE-LCHlch(49.26, 69.91, 293.65°)
OKLaboklab(57.32% 0.0013 -0.1839)
OKLCHoklch(57.32% 0.184 270.4)
XYZxyz(22.5115, 17.8087, 74.9093)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BE3 #E3C951
analogous
#51B4E3 #516BE3 #8051E3
triadic
#516BE3 #E3516B #6BE351
tetradic
#516BE3 #E351B4 #E3C951 #51E380
square
#516BE3 #E351B4 #E3C951 #51E380
split-complementary
#516BE3 #E38051 #B4E351
monochromatic
#1A32A0 #2242D5 #516BE3 #8698EB #BAC5F4

Accessibility & contrast

On white

4.60
#516BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#516BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516BE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BE3#FFFFFF#000000##FFFFFF
##516BE31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#197CE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516be3;
/* rgb */ color: rgb(81, 107, 227);
/* oklch */ color: oklch(57.3% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#9095ed',
    500: '#516be3',
    950: '#000000',
  },
}
SCSS
$custom: #516be3;
$custom-light: #9095ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516be3",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 229.315,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.18389,
    "h": 270.4
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#516BE3
secondary
#E4DAAC
accent
#B211D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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