#514AD8#514AD8

#514AD8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.6% C 0.209 H 278.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#514AD8
RGBrgb(81, 74, 216)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(62.5%, 65.7%, 0%, 15.3%)
CIE-LABlab(40.58, 44.49, -71.91)
CIE-LCHlch(40.58, 84.56, 301.75°)
OKLaboklab(50.64% 0.0293 -0.2073)
OKLCHoklch(50.64% 0.209 278)
XYZxyz(18.2328, 11.6033, 66.2313)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AD8 #D1D84A
analogous
#4A8AD8 #514AD8 #984AD8
triadic
#514AD8 #D8514A #4AD851
tetradic
#514AD8 #D84A8A #D1D84A #4AD898
square
#514AD8 #D84A8A #D1D84A #4AD898
split-complementary
#514AD8 #D8984A #8AD84A
monochromatic
#231E8A #3029BC #514AD8 #817CE3 #B2AFEE

Accessibility & contrast

On white

6.32
#514AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#514AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AD8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AD8#FFFFFF#000000##FFFFFF
##514AD81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514ad8;
/* rgb */ color: rgb(81, 74, 216);
/* oklch */ color: oklch(50.6% 0.209 278.0);
Tailwind
colors: {
  custom: {
    50: '#907de5',
    500: '#514ad8',
    950: '#000000',
  },
}
SCSS
$custom: #514ad8;
$custom-light: #907de5;
$custom-dark: #000000;
JSON
{
  "hex": "#514ad8",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 242.958,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.20935,
    "h": 278
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#514AD8
secondary
#D9DCA2
accent
#E840DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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