#514EAE#514EAE

#514EAE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.149 H 280.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#514EAE
RGBrgb(81, 78, 174)
HSLhsl(242, 38%, 49%)
HSVhsv(242, 55%, 68%)
CMYKcmyk(53.4%, 55.2%, 0%, 31.8%)
CIE-LABlab(38.29, 28.49, -51.15)
CIE-LCHlch(38.29, 58.55, 299.11°)
OKLaboklab(47.95% 0.0274 -0.1463)
OKLCHoklch(47.95% 0.149 280.6)
XYZxyz(13.7553, 10.2533, 41.2905)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EAE #ABAE4E
analogous
#4E7BAE #514EAE #814EAE
triadic
#514EAE #AE514E #4EAE51
tetradic
#514EAE #AE4E7B #ABAE4E #4EAE81
square
#514EAE #AE4E7B #ABAE4E #4EAE81
split-complementary
#514EAE #AE814E #7BAE4E
monochromatic
#2A2859 #3D3B84 #514EAE #7977C2 #A3A1D5

Accessibility & contrast

On white

6.88
#514EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#514EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EAE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EAE#FFFFFF#000000##FFFFFF
##514EAE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#296476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514eae;
/* rgb */ color: rgb(81, 78, 174);
/* oklch */ color: oklch(47.9% 0.149 280.6);
Tailwind
colors: {
  custom: {
    50: '#897fc7',
    500: '#514eae',
    950: '#000000',
  },
}
SCSS
$custom: #514eae;
$custom-light: #897fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#514eae",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 241.875,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.14883,
    "h": 280.6
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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