#514AC9#514AC9

#514AC9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.190 H 279.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#514AC9
RGBrgb(81, 74, 201)
HSLhsl(243, 54%, 54%)
HSVhsv(243, 63%, 79%)
CMYKcmyk(59.7%, 63.2%, 0%, 21.2%)
CIE-LABlab(39.35, 39.68, -65.27)
CIE-LCHlch(39.35, 76.39, 301.30°)
OKLaboklab(49.36% 0.0307 -0.1878)
OKLCHoklch(49.36% 0.19 279.3)
XYZxyz(16.3814, 10.8627, 56.4805)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AC9 #C2C94A
analogous
#4A83C9 #514AC9 #914AC9
triadic
#514AC9 #C9514A #4AC951
tetradic
#514AC9 #C94A83 #C2C94A #4AC991
square
#514AC9 #C94A83 #C2C94A #4AC991
split-complementary
#514AC9 #C9914A #83C94A
monochromatic
#282376 #3731A5 #514AC9 #7E79D7 #ACA8E5

Accessibility & contrast

On white

6.62
#514AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#514AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AC9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AC9#FFFFFF#000000##FFFFFF
##514AC91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ac9;
/* rgb */ color: rgb(81, 74, 201);
/* oklch */ color: oklch(49.4% 0.190 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e7dda',
    500: '#514ac9',
    950: '#000000',
  },
}
SCSS
$custom: #514ac9;
$custom-light: #8e7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#514ac9",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 243.307,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.19031,
    "h": 279.3
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#514AC9
secondary
#D0D29C
accent
#DD4AD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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