#514CA3#514CA3

#514CA3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.136 H 282.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#514CA3
RGBrgb(81, 76, 163)
HSLhsl(243, 36%, 47%)
HSVhsv(243, 53%, 64%)
CMYKcmyk(50.3%, 53.4%, 0%, 36.1%)
CIE-LABlab(37.04, 26.22, -46.62)
CIE-LCHlch(37.04, 53.48, 299.35°)
OKLaboklab(46.78% 0.0291 -0.133)
OKLCHoklch(46.78% 0.136 282.4)
XYZxyz(12.5866, 9.5619, 35.8256)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CA3 #9EA34C
analogous
#4C73A3 #514CA3 #7D4CA3
triadic
#514CA3 #A3514C #4CA351
tetradic
#514CA3 #A34C73 #9EA34C #4CA37D
square
#514CA3 #A34C73 #9EA34C #4CA37D
split-complementary
#514CA3 #A37D4C #73A34C
monochromatic
#282550 #3C3979 #514CA3 #7470BC #9D9AD0

Accessibility & contrast

On white

7.21
#514CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#514CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514CA3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CA3#FFFFFF#000000##FFFFFF
##514CA31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#325F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #514ca3;
/* rgb */ color: rgb(81, 76, 163);
/* oklch */ color: oklch(46.8% 0.136 282.4);
Tailwind
colors: {
  custom: {
    50: '#887ebf',
    500: '#514ca3',
    950: '#000000',
  },
}
SCSS
$custom: #514ca3;
$custom-light: #887ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#514ca3",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 243.448,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4678,
    "c": 0.13612,
    "h": 282.4
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#514CA3
secondary
#BABC8F
accent
#CC5BC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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