#514AAE#514AAE

#514AAE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.154 H 281.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#514AAE
RGBrgb(81, 74, 174)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 57%, 68%)
CMYKcmyk(53.4%, 57.5%, 0%, 31.8%)
CIE-LABlab(37.30, 30.99, -52.76)
CIE-LCHlch(37.30, 61.19, 300.43°)
OKLaboklab(47.21% 0.0318 -0.151)
OKLCHoklch(47.21% 0.154 281.9)
XYZxyz(13.4798, 9.7021, 41.1986)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AAE #A7AE4A
analogous
#4A75AE #514AAE #834AAE
triadic
#514AAE #AE514A #4AAE51
tetradic
#514AAE #AE4A75 #A7AE4A #4AAE83
square
#514AAE #AE4A75 #A7AE4A #4AAE83
split-complementary
#514AAE #AE834A #75AE4A
monochromatic
#292558 #3D3883 #514AAE #7872C3 #A19DD5

Accessibility & contrast

On white

7.14
#514AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#514AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514AAE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AAE#FFFFFF#000000##FFFFFF
##514AAE1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#296175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514aae;
/* rgb */ color: rgb(81, 74, 174);
/* oklch */ color: oklch(47.2% 0.154 281.9);
Tailwind
colors: {
  custom: {
    50: '#897dc7',
    500: '#514aae',
    950: '#000000',
  },
}
SCSS
$custom: #514aae;
$custom-light: #897dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#514aae",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 244.2,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.15433,
    "h": 281.9
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#514AAE
secondary
#BFC292
accent
#D058C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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