#514CBD#514CBD

#514CBD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.172 H 279.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#514CBD
RGBrgb(81, 76, 189)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(57.1%, 59.8%, 0%, 25.9%)
CIE-LABlab(38.88, 34.59, -59.03)
CIE-LCHlch(38.88, 68.42, 300.37°)
OKLaboklab(48.73% 0.0295 -0.1695)
OKLCHoklch(48.73% 0.172 279.9)
XYZxyz(15.1602, 10.5913, 49.3797)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CBD #B8BD4C
analogous
#4C80BD #514CBD #8A4CBD
triadic
#514CBD #BD514C #4CBD51
tetradic
#514CBD #BD4C80 #B8BD4C #4CBD8A
square
#514CBD #BD4C80 #B8BD4C #4CBD8A
split-complementary
#514CBD #BD8A4C #80BD4C
monochromatic
#292668 #3B3795 #514CBD #7C79CD #A8A5DE

Accessibility & contrast

On white

6.73
#514CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#514CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CBD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CBD#FFFFFF#000000##FFFFFF
##514CBD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#14677D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514cbd;
/* rgb */ color: rgb(81, 76, 189);
/* oklch */ color: oklch(48.7% 0.172 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c7ed2',
    500: '#514cbd',
    950: '#000000',
  },
}
SCSS
$custom: #514cbd;
$custom-light: #8c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#514cbd",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 242.655,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.17202,
    "h": 279.9
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#514CBD
secondary
#C9CB9A
accent
#D652D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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