#514ED8#514ED8

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

Color values

HEX#514ED8
RGBrgb(81, 78, 216)
HSLhsl(241, 64%, 58%)
HSVhsv(241, 64%, 85%)
CMYKcmyk(62.5%, 63.9%, 0%, 15.3%)
CIE-LABlab(41.46, 42.13, -70.47)
CIE-LCHlch(41.46, 82.10, 300.88°)
OKLaboklab(51.28% 0.0261 -0.2031)
OKLCHoklch(51.28% 0.205 277.3)
XYZxyz(18.5084, 12.1545, 66.3231)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED8 #D5D84E
analogous
#4E90D8 #514ED8 #964ED8
triadic
#514ED8 #D8514E #4ED851
tetradic
#514ED8 #D84E90 #D5D84E #4ED896
square
#514ED8 #D84E90 #D5D84E #4ED896
split-complementary
#514ED8 #D8964E #90D84E
monochromatic
#211F8D #2D2ABF #514ED8 #8280E3 #B4B2EE

Accessibility & contrast

On white

6.12
#514ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#514ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED8#FFFFFF#000000##FFFFFF
##514ED81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514ed8;
/* rgb */ color: rgb(81, 78, 216);
/* oklch */ color: oklch(51.3% 0.205 277.3);
Tailwind
colors: {
  custom: {
    50: '#9080e5',
    500: '#514ed8',
    950: '#000000',
  },
}
SCSS
$custom: #514ed8;
$custom-light: #9080e5;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed8",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 241.304,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.20473,
    "h": 277.3
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#514ED8
secondary
#DBDDA5
accent
#E741E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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