#514BB9#514BB9

#514BB9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.168 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#514BB9
RGBrgb(81, 75, 185)
HSLhsl(243, 44%, 51%)
HSVhsv(243, 59%, 73%)
CMYKcmyk(56.2%, 59.5%, 0%, 27.5%)
CIE-LABlab(38.35, 33.92, -57.56)
CIE-LCHlch(38.35, 66.81, 300.51°)
OKLaboklab(48.24% 0.0306 -0.1651)
OKLCHoklch(48.24% 0.168 280.5)
XYZxyz(14.6636, 10.2833, 47.1017)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB9 #B3B94B
analogous
#4B7CB9 #514BB9 #884BB9
triadic
#514BB9 #B9514B #4BB951
tetradic
#514BB9 #B94B7C #B3B94B #4BB988
square
#514BB9 #B94B7C #B3B94B #4BB988
split-complementary
#514BB9 #B9884B #7CB94B
monochromatic
#2A2763 #3C388F #514BB9 #7C77CA #A6A3DB

Accessibility & contrast

On white

6.87
#514BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#514BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BB9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB9#FFFFFF#000000##FFFFFF
##514BB91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#1B657B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514bb9;
/* rgb */ color: rgb(81, 75, 185);
/* oklch */ color: oklch(48.2% 0.168 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b7dcf',
    500: '#514bb9',
    950: '#000000',
  },
}
SCSS
$custom: #514bb9;
$custom-light: #8b7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb9",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 243.273,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.16796,
    "h": 280.5
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#514BB9
secondary
#C6C898
accent
#D454CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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