#516FEB#516FEB

#516FEB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.7% C 0.190 H 269.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#516FEB
RGBrgb(81, 111, 235)
HSLhsl(228, 79%, 62%)
HSVhsv(228, 66%, 92%)
CMYKcmyk(65.5%, 52.8%, 0%, 7.8%)
CIE-LABlab(50.82, 28.31, -66.01)
CIE-LCHlch(50.82, 71.83, 293.21°)
OKLaboklab(58.67% -0.0017 -0.1897)
OKLCHoklch(58.67% 0.19 269.5)
XYZxyz(24.0681, 19.1141, 81.0022)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FEB #EBCD51
analogous
#51BCEB #516FEB #8051EB
triadic
#516FEB #EB516F #6FEB51
tetradic
#516FEB #EB51BC #EBCD51 #51EB80
square
#516FEB #EB51BC #EBCD51 #51EB80
split-complementary
#516FEB #EB8051 #BCEB51
monochromatic
#1432AE #1A42E5 #516FEB #889CF1 #BFCAF8

Accessibility & contrast

On white

4.35
#516FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#516FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FEB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FEB#FFFFFF#000000##000000
##516FEB1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #516feb;
/* rgb */ color: rgb(81, 111, 235);
/* oklch */ color: oklch(58.7% 0.190 269.5);
Tailwind
colors: {
  custom: {
    50: '#9297f2',
    500: '#516feb',
    950: '#000000',
  },
}
SCSS
$custom: #516feb;
$custom-light: #9297f2;
$custom-dark: #000000;
JSON
{
  "hex": "#516feb",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 228.312,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.18967,
    "h": 269.5
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#516FEB
secondary
#E8DDB0
accent
#B30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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