#514AB7#514AB7

#514AB7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.167 H 280.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#514AB7
RGBrgb(81, 74, 183)
HSLhsl(244, 43%, 50%)
HSVhsv(244, 60%, 72%)
CMYKcmyk(55.7%, 59.6%, 0%, 28.2%)
CIE-LABlab(37.96, 33.89, -57.01)
CIE-LCHlch(37.96, 66.32, 300.73°)
OKLaboklab(47.91% 0.0316 -0.1635)
OKLCHoklch(47.91% 0.167 280.9)
XYZxyz(14.3867, 10.0649, 45.9752)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AB7 #B0B74A
analogous
#4A79B7 #514AB7 #874AB7
triadic
#514AB7 #B7514A #4AB751
tetradic
#514AB7 #B74A79 #B0B74A #4AB787
square
#514AB7 #B74A79 #B0B74A #4AB787
split-complementary
#514AB7 #B7874A #79B74A
monochromatic
#2A2660 #3D388C #514AB7 #7B76C8 #A5A2DA

Accessibility & contrast

On white

6.97
#514AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#514AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AB7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AB7#FFFFFF#000000##FFFFFF
##514AB71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#1F6479
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514ab7;
/* rgb */ color: rgb(81, 74, 183);
/* oklch */ color: oklch(47.9% 0.167 280.9);
Tailwind
colors: {
  custom: {
    50: '#8b7dcd',
    500: '#514ab7',
    950: '#000000',
  },
}
SCSS
$custom: #514ab7;
$custom-light: #8b7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#514ab7",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 243.853,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.16658,
    "h": 280.9
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#514AB7
secondary
#C4C796
accent
#D355CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #514AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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