#514AC5#514AC5

#514AC5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.185 H 279.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#514AC5
RGBrgb(81, 74, 197)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 62%, 77%)
CMYKcmyk(58.9%, 62.4%, 0%, 22.7%)
CIE-LABlab(39.03, 38.40, -63.46)
CIE-LCHlch(39.03, 74.17, 301.17°)
OKLaboklab(49.03% 0.031 -0.1825)
OKLCHoklch(49.03% 0.185 279.6)
XYZxyz(15.9170, 10.6770, 54.0346)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AC5 #BEC54A
analogous
#4A80C5 #514AC5 #8F4AC5
triadic
#514AC5 #C5514A #4AC551
tetradic
#514AC5 #C54A80 #BEC54A #4AC58F
square
#514AC5 #C54A80 #BEC54A #4AC58F
split-complementary
#514AC5 #C58F4A #80C54A
monochromatic
#282471 #39339F #514AC5 #7E78D4 #AAA7E3

Accessibility & contrast

On white

6.70
#514AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#514AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AC5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AC5#FFFFFF#000000##FFFFFF
##514AC51.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514ac5;
/* rgb */ color: rgb(81, 74, 197);
/* oklch */ color: oklch(49.0% 0.185 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d7dd7',
    500: '#514ac5',
    950: '#000000',
  },
}
SCSS
$custom: #514ac5;
$custom-light: #8d7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#514ac5",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 243.415,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.18512,
    "h": 279.6
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#514AC5
secondary
#CDD09B
accent
#DB4DD3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #514AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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