#514EAD#514EAD

#514EAD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.147 H 280.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#514EAD
RGBrgb(81, 78, 173)
HSLhsl(242, 38%, 49%)
HSVhsv(242, 55%, 68%)
CMYKcmyk(53.2%, 54.9%, 0%, 32.2%)
CIE-LABlab(38.22, 28.17, -50.67)
CIE-LCHlch(38.22, 57.97, 299.07°)
OKLaboklab(47.88% 0.0273 -0.1449)
OKLCHoklch(47.88% 0.147 280.7)
XYZxyz(13.6582, 10.2144, 40.7789)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EAD #AAAD4E
analogous
#4E7BAD #514EAD #814EAD
triadic
#514EAD #AD514E #4EAD51
tetradic
#514EAD #AD4E7B #AAAD4E #4EAD81
square
#514EAD #AD4E7B #AAAD4E #4EAD81
split-complementary
#514EAD #AD814E #7BAD4E
monochromatic
#2A2859 #3D3B83 #514EAD #7977C2 #A2A1D5

Accessibility & contrast

On white

6.90
#514EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#514EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EAD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EAD#FFFFFF#000000##FFFFFF
##514EAD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB0
Deuteranopia (green-blind)
#0256AB
Tritanopia (blue-blind)
#2A6476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514ead;
/* rgb */ color: rgb(81, 78, 173);
/* oklch */ color: oklch(47.9% 0.147 280.7);
Tailwind
colors: {
  custom: {
    50: '#897fc6',
    500: '#514ead',
    950: '#000000',
  },
}
SCSS
$custom: #514ead;
$custom-light: #897fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#514ead",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 241.895,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.14742,
    "h": 280.7
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#514EAD
secondary
#C0C295
accent
#CE5ACA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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