#514CA4#514CA4

#514CA4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.138 H 282.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#514CA4
RGBrgb(81, 76, 164)
HSLhsl(243, 37%, 47%)
HSVhsv(243, 54%, 64%)
CMYKcmyk(50.6%, 53.7%, 0%, 35.7%)
CIE-LABlab(37.11, 26.54, -47.11)
CIE-LCHlch(37.11, 54.07, 299.39°)
OKLaboklab(46.85% 0.0292 -0.1344)
OKLCHoklch(46.85% 0.138 282.3)
XYZxyz(12.6766, 9.5979, 36.2994)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CA4 #9FA44C
analogous
#4C73A4 #514CA4 #7D4CA4
triadic
#514CA4 #A4514C #4CA451
tetradic
#514CA4 #A44C73 #9FA44C #4CA47D
square
#514CA4 #A44C73 #9FA44C #4CA47D
split-complementary
#514CA4 #A47D4C #73A44C
monochromatic
#282550 #3C397A #514CA4 #7570BD #9D9AD0

Accessibility & contrast

On white

7.19
#514CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#514CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514CA4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CA4#FFFFFF#000000##FFFFFF
##514CA41.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#1654A2
Tritanopia (blue-blind)
#325F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #514ca4;
/* rgb */ color: rgb(81, 76, 164);
/* oklch */ color: oklch(46.9% 0.138 282.3);
Tailwind
colors: {
  custom: {
    50: '#887ebf',
    500: '#514ca4',
    950: '#000000',
  },
}
SCSS
$custom: #514ca4;
$custom-light: #887ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#514ca4",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 243.409,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.13754,
    "h": 282.3
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#514CA4
secondary
#BABD8F
accent
#CD5BC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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