#514ED3#514ED3

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

Color values

HEX#514ED3
RGBrgb(81, 78, 211)
HSLhsl(241, 60%, 57%)
HSVhsv(241, 63%, 83%)
CMYKcmyk(61.6%, 63%, 0%, 17.3%)
CIE-LABlab(41.06, 40.52, -68.26)
CIE-LCHlch(41.06, 79.38, 300.69°)
OKLaboklab(50.86% 0.0265 -0.1966)
OKLCHoklch(50.86% 0.198 277.7)
XYZxyz(17.8718, 11.8999, 62.9705)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED3 #D0D34E
analogous
#4E8ED3 #514ED3 #934ED3
triadic
#514ED3 #D3514E #4ED351
tetradic
#514ED3 #D34E8E #D0D34E #4ED393
square
#514ED3 #D34E8E #D0D34E #4ED393
split-complementary
#514ED3 #D3934E #8ED34E
monochromatic
#232185 #302DB6 #514ED3 #817FDF #B1B0EB

Accessibility & contrast

On white

6.21
#514ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#514ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED3#FFFFFF#000000##FFFFFF
##514ED31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514ed3;
/* rgb */ color: rgb(81, 78, 211);
/* oklch */ color: oklch(50.9% 0.198 277.7);
Tailwind
colors: {
  custom: {
    50: '#8f80e2',
    500: '#514ed3',
    950: '#000000',
  },
}
SCSS
$custom: #514ed3;
$custom-light: #8f80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed3",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 241.353,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.19835,
    "h": 277.7
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#514ED3
secondary
#D8DAA3
accent
#E344E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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