#5149AE#5149AE

#5149AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.156 H 282.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5149AE
RGBrgb(81, 73, 174)
HSLhsl(245, 41%, 48%)
HSVhsv(245, 58%, 68%)
CMYKcmyk(53.4%, 58%, 0%, 31.8%)
CIE-LABlab(37.06, 31.62, -53.15)
CIE-LCHlch(37.06, 61.84, 300.75°)
OKLaboklab(47.03% 0.0328 -0.1522)
OKLCHoklch(47.03% 0.156 282.2)
XYZxyz(13.4135, 9.5696, 41.1765)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149AE #A6AE49
analogous
#4973AE #5149AE #8349AE
triadic
#5149AE #AE5149 #49AE51
tetradic
#5149AE #AE4973 #A6AE49 #49AE83
square
#5149AE #AE4973 #A6AE49 #49AE83
split-complementary
#5149AE #AE8349 #73AE49
monochromatic
#292558 #3D3783 #5149AE #7771C3 #A19CD5

Accessibility & contrast

On white

7.21
#5149AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5149AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5149AE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149AE#FFFFFF#000000##FFFFFF
##5149AE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#296074
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5149ae;
/* rgb */ color: rgb(81, 73, 174);
/* oklch */ color: oklch(47.0% 0.156 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a7cc7',
    500: '#5149ae',
    950: '#000000',
  },
}
SCSS
$custom: #5149ae;
$custom-light: #8a7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5149ae",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 244.752,
    "s": 40.891,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.15569,
    "h": 282.2
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#5149AE
secondary
#BEC291
accent
#D157C7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5149AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5149AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva