#514ED2#514ED2

#514ED2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.197 H 277.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#514ED2
RGBrgb(81, 78, 210)
HSLhsl(241, 59%, 56%)
HSVhsv(241, 63%, 82%)
CMYKcmyk(61.4%, 62.9%, 0%, 17.6%)
CIE-LABlab(40.98, 40.19, -67.81)
CIE-LCHlch(40.98, 78.83, 300.65°)
OKLaboklab(50.77% 0.0266 -0.1953)
OKLCHoklch(50.77% 0.197 277.7)
XYZxyz(17.7468, 11.8499, 62.3123)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED2 #CFD24E
analogous
#4E8DD2 #514ED2 #934ED2
triadic
#514ED2 #D2514E #4ED251
tetradic
#514ED2 #D24E8D #CFD24E #4ED293
square
#514ED2 #D24E8D #CFD24E #4ED293
split-complementary
#514ED2 #D2934E #8DD24E
monochromatic
#242284 #312EB5 #514ED2 #817FDE #B1B0EB

Accessibility & contrast

On white

6.23
#514ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#514ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED2#FFFFFF#000000##FFFFFF
##514ED21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514ed2;
/* rgb */ color: rgb(81, 78, 210);
/* oklch */ color: oklch(50.8% 0.197 277.7);
Tailwind
colors: {
  custom: {
    50: '#8f80e1',
    500: '#514ed2',
    950: '#000000',
  },
}
SCSS
$custom: #514ed2;
$custom-light: #8f80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed2",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 241.364,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.19707,
    "h": 277.7
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#514ED2
secondary
#D8D9A3
accent
#E345DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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