#514ED4#514ED4

#514ED4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.200 H 277.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#514ED4
RGBrgb(81, 78, 212)
HSLhsl(241, 61%, 57%)
HSVhsv(241, 63%, 83%)
CMYKcmyk(61.8%, 63.2%, 0%, 16.9%)
CIE-LABlab(41.14, 40.84, -68.70)
CIE-LCHlch(41.14, 79.92, 300.73°)
OKLaboklab(50.94% 0.0264 -0.1979)
OKLCHoklch(50.94% 0.2 277.6)
XYZxyz(17.9976, 11.9502, 63.6328)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED4 #D1D44E
analogous
#4E8ED4 #514ED4 #944ED4
triadic
#514ED4 #D4514E #4ED451
tetradic
#514ED4 #D44E8E #D1D44E #4ED494
square
#514ED4 #D44E8E #D1D44E #4ED494
split-complementary
#514ED4 #D4944E #8ED44E
monochromatic
#232187 #302DB8 #514ED4 #817FE0 #B2B0EC

Accessibility & contrast

On white

6.19
#514ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#514ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED4#FFFFFF#000000##FFFFFF
##514ED41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514ed4;
/* rgb */ color: rgb(81, 78, 212);
/* oklch */ color: oklch(50.9% 0.200 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f80e2',
    500: '#514ed4',
    950: '#000000',
  },
}
SCSS
$custom: #514ed4;
$custom-light: #8f80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed4",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 241.343,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.19964,
    "h": 277.6
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#514ED4
secondary
#D9DAA4
accent
#E444E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #514ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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