#5149D6#5149D6

#5149D6 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.3% C 0.208 H 278.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5149D6
RGBrgb(81, 73, 214)
HSLhsl(243, 63%, 56%)
HSVhsv(243, 66%, 84%)
CMYKcmyk(62.1%, 65.9%, 0%, 16.1%)
CIE-LABlab(40.19, 44.44, -71.39)
CIE-LCHlch(40.19, 84.09, 301.90°)
OKLaboklab(50.31% 0.0303 -0.2058)
OKLCHoklch(50.31% 0.208 278.4)
XYZxyz(17.9096, 11.3681, 64.8558)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149D6 #CED649
analogous
#4988D6 #5149D6 #9849D6
triadic
#5149D6 #D65149 #49D651
tetradic
#5149D6 #D64988 #CED649 #49D698
square
#5149D6 #D64988 #CED649 #49D698
split-complementary
#5149D6 #D69849 #88D649
monochromatic
#241E86 #322AB8 #5149D6 #817BE1 #B1ADED

Accessibility & contrast

On white

6.41
#5149D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5149D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149D6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149D6#FFFFFF#000000##FFFFFF
##5149D61.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5149d6;
/* rgb */ color: rgb(81, 73, 214);
/* oklch */ color: oklch(50.3% 0.208 278.4);
Tailwind
colors: {
  custom: {
    50: '#907de4',
    500: '#5149d6',
    950: '#000000',
  },
}
SCSS
$custom: #5149d6;
$custom-light: #907de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5149d6",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 243.404,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.208,
    "h": 278.4
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#5149D6
secondary
#D7DAA0
accent
#E642DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149D6

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

Preview Lab → · Contrast checker → · Palette generator →

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