#514EAC#514EAC

#514EAC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.146 H 280.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#514EAC
RGBrgb(81, 78, 172)
HSLhsl(242, 38%, 49%)
HSVhsv(242, 55%, 67%)
CMYKcmyk(52.9%, 54.7%, 0%, 32.5%)
CIE-LABlab(38.16, 27.84, -50.19)
CIE-LCHlch(38.16, 57.39, 299.02°)
OKLaboklab(47.8% 0.0273 -0.1434)
OKLCHoklch(47.8% 0.146 280.8)
XYZxyz(13.5618, 10.1759, 40.2712)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EAC #A9AC4E
analogous
#4E7AAC #514EAC #804EAC
triadic
#514EAC #AC514E #4EAC51
tetradic
#514EAC #AC4E7A #A9AC4E #4EAC80
square
#514EAC #AC4E7A #A9AC4E #4EAC80
split-complementary
#514EAC #AC804E #7AAC4E
monochromatic
#292858 #3D3B82 #514EAC #7976C1 #A2A0D4

Accessibility & contrast

On white

6.92
#514EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514EAC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EAC#FFFFFF#000000##FFFFFF
##514EAC1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#0656AA
Tritanopia (blue-blind)
#2B6375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514eac;
/* rgb */ color: rgb(81, 78, 172);
/* oklch */ color: oklch(47.8% 0.146 280.8);
Tailwind
colors: {
  custom: {
    50: '#897fc5',
    500: '#514eac',
    950: '#000000',
  },
}
SCSS
$custom: #514eac;
$custom-light: #897fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#514eac",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 241.915,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.14602,
    "h": 280.8
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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