#514ED7#514ED7

#514ED7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.203 H 277.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#514ED7
RGBrgb(81, 78, 215)
HSLhsl(241, 63%, 57%)
HSVhsv(241, 64%, 84%)
CMYKcmyk(62.3%, 63.7%, 0%, 15.7%)
CIE-LABlab(41.38, 41.81, -70.03)
CIE-LCHlch(41.38, 81.56, 300.84°)
OKLaboklab(51.19% 0.0262 -0.2018)
OKLCHoklch(51.19% 0.203 277.4)
XYZxyz(18.3795, 12.1029, 65.6444)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED7 #D4D74E
analogous
#4E8FD7 #514ED7 #964ED7
triadic
#514ED7 #D7514E #4ED751
tetradic
#514ED7 #D74E8F #D4D74E #4ED796
square
#514ED7 #D74E8F #D4D74E #4ED796
split-complementary
#514ED7 #D7964E #8FD74E
monochromatic
#221F8B #2E2BBD #514ED7 #8280E2 #B3B2EE

Accessibility & contrast

On white

6.14
#514ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#514ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED7#FFFFFF#000000##FFFFFF
##514ED71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514ed7;
/* rgb */ color: rgb(81, 78, 215);
/* oklch */ color: oklch(51.2% 0.203 277.4);
Tailwind
colors: {
  custom: {
    50: '#9080e4',
    500: '#514ed7',
    950: '#000000',
  },
}
SCSS
$custom: #514ed7;
$custom-light: #9080e4;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed7",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 241.314,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.20346,
    "h": 277.4
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#514ED7
secondary
#DBDCA5
accent
#E642E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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