#514FA1#514FA1

#514FA1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.129 H 281.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#514FA1
RGBrgb(81, 79, 161)
HSLhsl(241, 34%, 47%)
HSVhsv(241, 51%, 63%)
CMYKcmyk(49.7%, 50.9%, 0%, 36.9%)
CIE-LABlab(37.69, 23.67, -44.39)
CIE-LCHlch(37.69, 50.31, 298.07°)
OKLaboklab(47.22% 0.0254 -0.1264)
OKLCHoklch(47.22% 0.129 281.4)
XYZxyz(12.6204, 9.9138, 34.9599)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA1 #9FA14F
analogous
#4F76A1 #514FA1 #7A4FA1
triadic
#514FA1 #A1514F #4FA151
tetradic
#514FA1 #A14F76 #9FA14F #4FA17A
square
#514FA1 #A14F76 #9FA14F #4FA17A
split-complementary
#514FA1 #A17A4F #76A14F
monochromatic
#28274F #3C3B78 #514FA1 #7573BA #9D9CCE

Accessibility & contrast

On white

7.04
#514FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#514FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514FA1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA1#FFFFFF#000000##FFFFFF
##514FA11.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#22569F
Tritanopia (blue-blind)
#336170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa1;
/* rgb */ color: rgb(81, 79, 161);
/* oklch */ color: oklch(47.2% 0.129 281.4);
Tailwind
colors: {
  custom: {
    50: '#8780bd',
    500: '#514fa1',
    950: '#000000',
  },
}
SCSS
$custom: #514fa1;
$custom-light: #8780bd;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa1",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 241.463,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.12891,
    "h": 281.4
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#514FA1
secondary
#BABB91
accent
#CA5EC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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