#514AD6#514AD6

#514AD6 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.5% C 0.207 H 278.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#514AD6
RGBrgb(81, 74, 214)
HSLhsl(243, 63%, 56%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(62.1%, 65.4%, 0%, 16.1%)
CIE-LABlab(40.41, 43.85, -71.04)
CIE-LCHlch(40.41, 83.48, 301.69°)
OKLaboklab(50.46% 0.0295 -0.2047)
OKLCHoklch(50.46% 0.207 278.2)
XYZxyz(17.9758, 11.5005, 64.8778)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AD6 #CFD64A
analogous
#4A89D6 #514AD6 #974AD6
triadic
#514AD6 #D6514A #4AD651
tetradic
#514AD6 #D64A89 #CFD64A #4AD697
square
#514AD6 #D64A89 #CFD64A #4AD697
split-complementary
#514AD6 #D6974A #89D64A
monochromatic
#241F87 #312AB9 #514AD6 #817CE1 #B1AEED

Accessibility & contrast

On white

6.36
#514AD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#514AD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AD6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AD6#FFFFFF#000000##FFFFFF
##514AD61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514ad6;
/* rgb */ color: rgb(81, 74, 214);
/* oklch */ color: oklch(50.5% 0.207 278.2);
Tailwind
colors: {
  custom: {
    50: '#907de4',
    500: '#514ad6',
    950: '#000000',
  },
}
SCSS
$custom: #514ad6;
$custom-light: #907de4;
$custom-dark: #000000;
JSON
{
  "hex": "#514ad6",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 214
  },
  "hsl": {
    "h": 243,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.20685,
    "h": 278.2
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#514AD6
secondary
#D8DBA1
accent
#E642DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514AD6

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

Preview Lab → · Contrast checker → · Palette generator →

#514AD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva