#514AB2#514AB2

#514AB2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.160 H 281.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#514AB2
RGBrgb(81, 74, 178)
HSLhsl(244, 41%, 49%)
HSVhsv(244, 58%, 70%)
CMYKcmyk(54.5%, 58.4%, 0%, 30.2%)
CIE-LABlab(37.59, 32.28, -54.66)
CIE-LCHlch(37.59, 63.48, 300.56°)
OKLaboklab(47.52% 0.0317 -0.1566)
OKLCHoklch(47.52% 0.16 281.5)
XYZxyz(13.8755, 9.8604, 43.2829)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AB2 #ABB24A
analogous
#4A77B2 #514AB2 #854AB2
triadic
#514AB2 #B2514A #4AB251
tetradic
#514AB2 #B24A77 #ABB24A #4AB285
square
#514AB2 #B24A77 #ABB24A #4AB285
split-complementary
#514AB2 #B2854A #77B24A
monochromatic
#2A265C #3D3887 #514AB2 #7974C5 #A39FD7

Accessibility & contrast

On white

7.07
#514AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#514AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514AB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AB2#FFFFFF#000000##FFFFFF
##514AB21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#256277
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514ab2;
/* rgb */ color: rgb(81, 74, 178);
/* oklch */ color: oklch(47.5% 0.160 281.5);
Tailwind
colors: {
  custom: {
    50: '#8a7dca',
    500: '#514ab2',
    950: '#000000',
  },
}
SCSS
$custom: #514ab2;
$custom-light: #8a7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#514ab2",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 244.038,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.1598,
    "h": 281.5
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#514AB2
secondary
#C1C494
accent
#D157C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #514AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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