#516EFF#516EFF

#516EFF is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.0% C 0.217 H 270.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#516EFF
RGBrgb(81, 110, 255)
HSLhsl(230, 100%, 66%)
HSVhsv(230, 68%, 100%)
CMYKcmyk(68.2%, 56.9%, 0%, 0%)
CIE-LABlab(51.97, 35.76, -75.28)
CIE-LCHlch(51.97, 83.34, 295.41°)
OKLaboklab(59.97% 0 -0.2169)
OKLCHoklch(59.97% 0.217 270)
XYZxyz(27.0131, 20.1185, 97.0480)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EFF #FFE251
analogous
#51C5FF #516EFF #8B51FF
triadic
#516EFF #FF516E #6EFF51
tetradic
#516EFF #FF51C5 #FFE251 #51FF8B
square
#516EFF #FF51C5 #FFE251 #51FF8B
split-complementary
#516EFF #FF8B51 #C5FF51
monochromatic
#0024D6 #143BFF #516EFF #8EA1FF #CBD4FF

Accessibility & contrast

On white

4.18
#516EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#516EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EFF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EFF#FFFFFF#000000##000000
##516EFF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516eff;
/* rgb */ color: rgb(81, 110, 255);
/* oklch */ color: oklch(60.0% 0.217 270.0);
Tailwind
colors: {
  custom: {
    50: '#9597ff',
    500: '#516eff',
    950: '#000000',
  },
}
SCSS
$custom: #516eff;
$custom-light: #9597ff;
$custom-dark: #000000;
JSON
{
  "hex": "#516eff",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 230,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.21694,
    "h": 270
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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