#5149AF#5149AF

#5149AF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.157 H 282.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5149AF
RGBrgb(81, 73, 175)
HSLhsl(245, 41%, 49%)
HSVhsv(245, 58%, 69%)
CMYKcmyk(53.7%, 58.3%, 0%, 31.4%)
CIE-LABlab(37.13, 31.94, -53.63)
CIE-LCHlch(37.13, 62.42, 300.78°)
OKLaboklab(47.11% 0.0328 -0.1536)
OKLCHoklch(47.11% 0.157 282.1)
XYZxyz(13.5114, 9.6088, 41.6918)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149AF #A7AF49
analogous
#4974AF #5149AF #8449AF
triadic
#5149AF #AF5149 #49AF51
tetradic
#5149AF #AF4974 #A7AF49 #49AF84
square
#5149AF #AF4974 #A7AF49 #49AF84
split-complementary
#5149AF #AF8449 #74AF49
monochromatic
#292559 #3D3784 #5149AF #7871C4 #A19CD6

Accessibility & contrast

On white

7.19
#5149AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5149AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5149AF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149AF#FFFFFF#000000##FFFFFF
##5149AF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#286175
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5149af;
/* rgb */ color: rgb(81, 73, 175);
/* oklch */ color: oklch(47.1% 0.157 282.1);
Tailwind
colors: {
  custom: {
    50: '#8a7cc8',
    500: '#5149af',
    950: '#000000',
  },
}
SCSS
$custom: #5149af;
$custom-light: #8a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5149af",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 244.706,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.15707,
    "h": 282.1
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5149AF

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

Preview Lab → · Contrast checker → · Palette generator →

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