#516DFF#516DFF

#516DFF is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.8% C 0.218 H 270.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#516DFF
RGBrgb(81, 109, 255)
HSLhsl(230, 100%, 66%)
HSVhsv(230, 68%, 100%)
CMYKcmyk(68.2%, 57.3%, 0%, 0%)
CIE-LABlab(51.73, 36.37, -75.68)
CIE-LCHlch(51.73, 83.96, 295.67°)
OKLaboklab(59.79% 0.0007 -0.2181)
OKLCHoklch(59.79% 0.218 270.2)
XYZxyz(26.9058, 19.9040, 97.0123)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DFF #FFE351
analogous
#51C4FF #516DFF #8C51FF
triadic
#516DFF #FF516D #6DFF51
tetradic
#516DFF #FF51C4 #FFE351 #51FF8C
square
#516DFF #FF51C4 #FFE351 #51FF8C
split-complementary
#516DFF #FF8C51 #C4FF51
monochromatic
#0022D6 #143AFF #516DFF #8EA0FF #CBD4FF

Accessibility & contrast

On white

4.22
#516DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#516DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DFF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DFF#FFFFFF#000000##000000
##516DFF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#0091AC
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #516dff;
/* rgb */ color: rgb(81, 109, 255);
/* oklch */ color: oklch(59.8% 0.218 270.2);
Tailwind
colors: {
  custom: {
    50: '#9596ff',
    500: '#516dff',
    950: '#000000',
  },
}
SCSS
$custom: #516dff;
$custom-light: #9596ff;
$custom-dark: #000000;
JSON
{
  "hex": "#516dff",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 230.345,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.21811,
    "h": 270.2
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#516DFF
secondary
#F3E9B9
accent
#C100E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #516DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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