#514CB2#514CB2

#514CB2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.157 H 280.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#514CB2
RGBrgb(81, 76, 178)
HSLhsl(243, 40%, 50%)
HSVhsv(243, 57%, 70%)
CMYKcmyk(54.5%, 57.3%, 0%, 30.2%)
CIE-LABlab(38.08, 31.03, -53.87)
CIE-LCHlch(38.08, 62.17, 299.95°)
OKLaboklab(47.88% 0.0296 -0.1543)
OKLCHoklch(47.88% 0.157 280.9)
XYZxyz(14.0112, 10.1317, 43.3282)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CB2 #ADB24C
analogous
#4C7AB2 #514CB2 #844CB2
triadic
#514CB2 #B2514C #4CB251
tetradic
#514CB2 #B24C7A #ADB24C #4CB284
square
#514CB2 #B24C7A #ADB24C #4CB284
split-complementary
#514CB2 #B2844C #7AB24C
monochromatic
#2A275C #3D3A87 #514CB2 #7A76C5 #A4A1D7

Accessibility & contrast

On white

6.94
#514CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CB2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CB2#FFFFFF#000000##FFFFFF
##514CB21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#256477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514cb2;
/* rgb */ color: rgb(81, 76, 178);
/* oklch */ color: oklch(47.9% 0.157 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a7eca',
    500: '#514cb2',
    950: '#000000',
  },
}
SCSS
$custom: #514cb2;
$custom-light: #8a7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#514cb2",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 242.941,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.15711,
    "h": 280.9
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#514CB2
secondary
#C2C496
accent
#D058CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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