#516FE0#516FE0

#516FE0 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.175 H 269.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516FE0
RGBrgb(81, 111, 224)
HSLhsl(227, 70%, 60%)
HSVhsv(227, 64%, 88%)
CMYKcmyk(63.8%, 50.4%, 0%, 12.2%)
CIE-LABlab(50.09, 24.54, -61.00)
CIE-LCHlch(50.09, 65.75, 291.91°)
OKLaboklab(57.89% -0.0026 -0.1749)
OKLCHoklch(57.89% 0.175 269.1)
XYZxyz(22.5277, 18.4980, 72.8898)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FE0 #E0C251
analogous
#51B6E0 #516FE0 #7B51E0
triadic
#516FE0 #E0516F #6FE051
tetradic
#516FE0 #E051B6 #E0C251 #51E07B
square
#516FE0 #E051B6 #E0C251 #51E07B
split-complementary
#516FE0 #E07B51 #B6E051
monochromatic
#1C369B #2549CF #516FE0 #859AE9 #B9C5F3

Accessibility & contrast

On white

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

On black

4.70
#516FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FE0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FE0#FFFFFF#000000##000000
##516FE01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE4
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516fe0;
/* rgb */ color: rgb(81, 111, 224);
/* oklch */ color: oklch(57.9% 0.175 269.1);
Tailwind
colors: {
  custom: {
    50: '#9097ea',
    500: '#516fe0',
    950: '#000000',
  },
}
SCSS
$custom: #516fe0;
$custom-light: #9097ea;
$custom-dark: #000000;
JSON
{
  "hex": "#516fe0",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 224
  },
  "hsl": {
    "h": 227.413,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.17493,
    "h": 269.1
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#516FE0
secondary
#E2D6AB
accent
#C73BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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