#514AC0#514AC0

#514AC0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.179 H 280.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#514AC0
RGBrgb(81, 74, 192)
HSLhsl(244, 48%, 52%)
HSVhsv(244, 61%, 75%)
CMYKcmyk(57.8%, 61.5%, 0%, 24.7%)
CIE-LABlab(38.64, 36.79, -61.18)
CIE-LCHlch(38.64, 71.39, 301.02°)
OKLaboklab(48.62% 0.0313 -0.1758)
OKLCHoklch(48.62% 0.179 280.1)
XYZxyz(15.3536, 10.4516, 51.0673)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AC0 #B9C04A
analogous
#4A7EC0 #514AC0 #8C4AC0
triadic
#514AC0 #C0514A #4AC051
tetradic
#514AC0 #C04A7E #B9C04A #4AC08C
square
#514AC0 #C04A7E #B9C04A #4AC08C
split-complementary
#514AC0 #C08C4A #7EC04A
monochromatic
#29256B #3B3598 #514AC0 #7D77D0 #A8A5E0

Accessibility & contrast

On white

6.79
#514AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#514AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AC0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AC0#FFFFFF#000000##FFFFFF
##514AC01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#0C677E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514ac0;
/* rgb */ color: rgb(81, 74, 192);
/* oklch */ color: oklch(48.6% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c7dd4',
    500: '#514ac0',
    950: '#000000',
  },
}
SCSS
$custom: #514ac0;
$custom-light: #8c7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#514ac0",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 243.559,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.17857,
    "h": 280.1
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#514AC0
secondary
#CACD99
accent
#D850D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #514AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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