#514AD5#514AD5

#514AD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.4% C 0.206 H 278.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#514AD5
RGBrgb(81, 74, 213)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(62%, 65.3%, 0%, 16.5%)
CIE-LABlab(40.33, 43.53, -70.60)
CIE-LCHlch(40.33, 82.94, 301.66°)
OKLaboklab(50.38% 0.0296 -0.2035)
OKLCHoklch(50.38% 0.206 278.3)
XYZxyz(17.8485, 11.4496, 64.2073)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AD5 #CED54A
analogous
#4A89D5 #514AD5 #974AD5
triadic
#514AD5 #D5514A #4AD551
tetradic
#514AD5 #D54A89 #CED54A #4AD597
square
#514AD5 #D54A89 #CED54A #4AD597
split-complementary
#514AD5 #D5974A #89D54A
monochromatic
#241F86 #322BB7 #514AD5 #817CE1 #B1ADEC

Accessibility & contrast

On white

6.38
#514AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#514AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AD5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AD5#FFFFFF#000000##FFFFFF
##514AD51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514ad5;
/* rgb */ color: rgb(81, 74, 213);
/* oklch */ color: oklch(50.4% 0.206 278.3);
Tailwind
colors: {
  custom: {
    50: '#907de3',
    500: '#514ad5',
    950: '#000000',
  },
}
SCSS
$custom: #514ad5;
$custom-light: #907de3;
$custom-dark: #000000;
JSON
{
  "hex": "#514ad5",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 243.022,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.2056,
    "h": 278.3
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#514AD5
secondary
#D7DAA1
accent
#E542DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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