#514FAE#514FAE

#514FAE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.147 H 280.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#514FAE
RGBrgb(81, 79, 174)
HSLhsl(241, 38%, 50%)
HSVhsv(241, 55%, 68%)
CMYKcmyk(53.4%, 54.6%, 0%, 31.8%)
CIE-LABlab(38.54, 27.86, -50.75)
CIE-LCHlch(38.54, 57.89, 298.76°)
OKLaboklab(48.14% 0.0263 -0.1451)
OKLCHoklch(48.14% 0.147 280.3)
XYZxyz(13.8269, 10.3965, 41.3143)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FAE #ACAE4F
analogous
#4F7DAE #514FAE #814FAE
triadic
#514FAE #AE514F #4FAE51
tetradic
#514FAE #AE4F7D #ACAE4F #4FAE81
square
#514FAE #AE4F7D #ACAE4F #4FAE81
split-complementary
#514FAE #AE814F #7DAE4F
monochromatic
#2A295A #3D3C84 #514FAE #7A78C2 #A3A2D5

Accessibility & contrast

On white

6.82
#514FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#514FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FAE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FAE#FFFFFF#000000##FFFFFF
##514FAE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0357AC
Tritanopia (blue-blind)
#286577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514fae;
/* rgb */ color: rgb(81, 79, 174);
/* oklch */ color: oklch(48.1% 0.147 280.3);
Tailwind
colors: {
  custom: {
    50: '#8980c7',
    500: '#514fae',
    950: '#000000',
  },
}
SCSS
$custom: #514fae;
$custom-light: #8980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#514fae",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 241.263,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.14745,
    "h": 280.3
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#514FAE
secondary
#C1C297
accent
#CE5ACB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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