#514AC4#514AC4

#514AC4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.184 H 279.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#514AC4
RGBrgb(81, 74, 196)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 62%, 77%)
CMYKcmyk(58.7%, 62.2%, 0%, 23.1%)
CIE-LABlab(38.95, 38.07, -63.01)
CIE-LCHlch(38.95, 73.62, 301.14°)
OKLaboklab(48.95% 0.031 -0.1812)
OKLCHoklch(48.95% 0.184 279.7)
XYZxyz(15.8028, 10.6313, 53.4332)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AC4 #BDC44A
analogous
#4A80C4 #514AC4 #8E4AC4
triadic
#514AC4 #C4514A #4AC451
tetradic
#514AC4 #C44A80 #BDC44A #4AC48E
square
#514AC4 #C44A80 #BDC44A #4AC48E
split-complementary
#514AC4 #C48E4A #80C44A
monochromatic
#29246F #39339D #514AC4 #7D78D3 #AAA6E2

Accessibility & contrast

On white

6.72
#514AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#514AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AC4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AC4#FFFFFF#000000##FFFFFF
##514AC41.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514ac4;
/* rgb */ color: rgb(81, 74, 196);
/* oklch */ color: oklch(48.9% 0.184 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d7dd7',
    500: '#514ac4',
    950: '#000000',
  },
}
SCSS
$custom: #514ac4;
$custom-light: #8d7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#514ac4",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 243.443,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.18382,
    "h": 279.7
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#514AC4
secondary
#CCCF9B
accent
#DA4DD2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #514AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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