#514AD2#514AD2

#514AD2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.1% C 0.202 H 278.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#514AD2
RGBrgb(81, 74, 210)
HSLhsl(243, 60%, 56%)
HSVhsv(243, 65%, 82%)
CMYKcmyk(61.4%, 64.8%, 0%, 17.6%)
CIE-LABlab(40.08, 42.57, -69.28)
CIE-LCHlch(40.08, 81.31, 301.57°)
OKLaboklab(50.12% 0.0299 -0.1996)
OKLCHoklch(50.12% 0.202 278.5)
XYZxyz(17.4712, 11.2987, 62.2205)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AD2 #CBD24A
analogous
#4A87D2 #514AD2 #954AD2
triadic
#514AD2 #D2514A #4AD251
tetradic
#514AD2 #D24A87 #CBD24A #4AD295
square
#514AD2 #D24A87 #CBD24A #4AD295
split-complementary
#514AD2 #D2954A #87D24A
monochromatic
#252081 #332CB2 #514AD2 #807BDE #AFACEA

Accessibility & contrast

On white

6.44
#514AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#514AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AD2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AD2#FFFFFF#000000##FFFFFF
##514AD21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514ad2;
/* rgb */ color: rgb(81, 74, 210);
/* oklch */ color: oklch(50.1% 0.202 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f7de1',
    500: '#514ad2',
    950: '#000000',
  },
}
SCSS
$custom: #514ad2;
$custom-light: #8f7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#514ad2",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 243.088,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.20181,
    "h": 278.5
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#514AD2
secondary
#D5D8A0
accent
#E344DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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