#514CD1#514CD1

#514CD1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.4% C 0.198 H 278.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#514CD1
RGBrgb(81, 76, 209)
HSLhsl(242, 59%, 56%)
HSVhsv(242, 64%, 82%)
CMYKcmyk(61.2%, 63.6%, 0%, 18%)
CIE-LABlab(40.44, 41.06, -68.11)
CIE-LCHlch(40.44, 79.53, 301.09°)
OKLaboklab(50.36% 0.0283 -0.1961)
OKLCHoklch(50.36% 0.198 278.2)
XYZxyz(17.4827, 11.5203, 61.6116)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD1 #CCD14C
analogous
#4C89D1 #514CD1 #934CD1
triadic
#514CD1 #D1514C #4CD151
tetradic
#514CD1 #D14C89 #CCD14C #4CD193
square
#514CD1 #D14C89 #CCD14C #4CD193
split-complementary
#514CD1 #D1934C #89D14C
monochromatic
#252181 #332EB2 #514CD1 #807DDE #B0ADEA

Accessibility & contrast

On white

6.36
#514CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#514CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD1#FFFFFF#000000##FFFFFF
##514CD11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514cd1;
/* rgb */ color: rgb(81, 76, 209);
/* oklch */ color: oklch(50.4% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f7fe0',
    500: '#514cd1',
    950: '#000000',
  },
}
SCSS
$custom: #514cd1;
$custom-light: #8f7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd1",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 242.256,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.19817,
    "h": 278.2
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#514CD1
secondary
#D6D8A1
accent
#E246DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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