#514ED9#514ED9

#514ED9 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.206 H 277.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#514ED9
RGBrgb(81, 78, 217)
HSLhsl(241, 65%, 58%)
HSVhsv(241, 64%, 85%)
CMYKcmyk(62.7%, 64.1%, 0%, 14.9%)
CIE-LABlab(41.54, 42.46, -70.91)
CIE-LCHlch(41.54, 82.65, 300.91°)
OKLaboklab(51.36% 0.026 -0.2043)
OKLCHoklch(51.36% 0.206 277.3)
XYZxyz(18.6381, 12.2064, 67.0061)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED9 #D6D94E
analogous
#4E90D9 #514ED9 #964ED9
triadic
#514ED9 #D9514E #4ED951
tetradic
#514ED9 #D94E90 #D6D94E #4ED996
square
#514ED9 #D94E90 #D6D94E #4ED996
split-complementary
#514ED9 #D9964E #90D94E
monochromatic
#211F8E #2D29C0 #514ED9 #8380E4 #B4B3EF

Accessibility & contrast

On white

6.10
#514ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#514ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED9#FFFFFF#000000##FFFFFF
##514ED91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514ed9;
/* rgb */ color: rgb(81, 78, 217);
/* oklch */ color: oklch(51.4% 0.206 277.3);
Tailwind
colors: {
  custom: {
    50: '#9080e6',
    500: '#514ed9',
    950: '#000000',
  },
}
SCSS
$custom: #514ed9;
$custom-light: #9080e6;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed9",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 241.295,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51362,
    "c": 0.206,
    "h": 277.3
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#514ED9
secondary
#DCDDA6
accent
#E840E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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