#514ED5#514ED5

#514ED5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.0% C 0.201 H 277.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#514ED5
RGBrgb(81, 78, 213)
HSLhsl(241, 62%, 57%)
HSVhsv(241, 63%, 84%)
CMYKcmyk(62%, 63.4%, 0%, 16.5%)
CIE-LABlab(41.22, 41.16, -69.14)
CIE-LCHlch(41.22, 80.47, 300.77°)
OKLaboklab(51.02% 0.0263 -0.1992)
OKLCHoklch(51.02% 0.201 277.5)
XYZxyz(18.1241, 12.0008, 64.2992)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED5 #D2D54E
analogous
#4E8FD5 #514ED5 #944ED5
triadic
#514ED5 #D5514E #4ED551
tetradic
#514ED5 #D54E8F #D2D54E #4ED594
square
#514ED5 #D54E8F #D2D54E #4ED594
split-complementary
#514ED5 #D5944E #8FD54E
monochromatic
#232088 #2F2CBA #514ED5 #827FE1 #B2B1EC

Accessibility & contrast

On white

6.18
#514ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#514ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED5#FFFFFF#000000##FFFFFF
##514ED51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514ed5;
/* rgb */ color: rgb(81, 78, 213);
/* oklch */ color: oklch(51.0% 0.201 277.5);
Tailwind
colors: {
  custom: {
    50: '#9080e3',
    500: '#514ed5',
    950: '#000000',
  },
}
SCSS
$custom: #514ed5;
$custom-light: #9080e3;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed5",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 241.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.20091,
    "h": 277.5
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#514ED5
secondary
#DADBA4
accent
#E543E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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