#516DFE#516DFE

#516DFE is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.7% C 0.217 H 270.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#516DFE
RGBrgb(81, 109, 254)
HSLhsl(230, 99%, 66%)
HSVhsv(230, 68%, 100%)
CMYKcmyk(68.1%, 57.1%, 0%, 0.4%)
CIE-LABlab(51.66, 36.03, -75.24)
CIE-LCHlch(51.66, 83.42, 295.59°)
OKLaboklab(59.71% 0.0007 -0.2168)
OKLCHoklch(59.71% 0.217 270.2)
XYZxyz(26.7453, 19.8398, 96.1667)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DFE #FEE251
analogous
#51C3FE #516DFE #8B51FE
triadic
#516DFE #FE516D #6DFE51
tetradic
#516DFE #FE51C3 #FEE251 #51FE8B
square
#516DFE #FE51C3 #FEE251 #51FE8B
split-complementary
#516DFE #FE8B51 #C3FE51
monochromatic
#0123D3 #143AFE #516DFE #8EA0FE #CBD3FF

Accessibility & contrast

On white

4.23
#516DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#516DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DFE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DFE#FFFFFF#000000##000000
##516DFE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0073FB
Tritanopia (blue-blind)
#0091AB
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #516dfe;
/* rgb */ color: rgb(81, 109, 254);
/* oklch */ color: oklch(59.7% 0.217 270.2);
Tailwind
colors: {
  custom: {
    50: '#9596ff',
    500: '#516dfe',
    950: '#000000',
  },
}
SCSS
$custom: #516dfe;
$custom-light: #9596ff;
$custom-dark: #000000;
JSON
{
  "hex": "#516dfe",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 230.289,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.21683,
    "h": 270.2
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#516DFE
secondary
#F2E9B9
accent
#C000E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #516DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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