#5149E1#5149E1

#5149E1 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.222 H 277.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5149E1
RGBrgb(81, 73, 225)
HSLhsl(243, 72%, 58%)
HSVhsv(243, 68%, 88%)
CMYKcmyk(64%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.14, 47.93, -76.14)
CIE-LCHlch(41.14, 89.97, 302.19°)
OKLaboklab(51.28% 0.0289 -0.2197)
OKLCHoklch(51.28% 0.222 277.5)
XYZxyz(19.3621, 11.9491, 72.5056)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149E1 #D9E149
analogous
#498DE1 #5149E1 #9D49E1
triadic
#5149E1 #E15149 #49E151
tetradic
#5149E1 #E1498D #D9E149 #49E19D
square
#5149E1 #E1498D #D9E149 #49E19D
split-complementary
#5149E1 #E19D49 #8DE149
monochromatic
#1F1997 #2A22CB #5149E1 #837EEA #B5B2F2

Accessibility & contrast

On white

6.19
#5149E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5149E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149E1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149E1#FFFFFF#000000##FFFFFF
##5149E11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5149e1;
/* rgb */ color: rgb(81, 73, 225);
/* oklch */ color: oklch(51.3% 0.222 277.5);
Tailwind
colors: {
  custom: {
    50: '#927dec',
    500: '#5149e1',
    950: '#000000',
  },
}
SCSS
$custom: #5149e1;
$custom-light: #927dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5149e1",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 243.158,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.22159,
    "h": 277.5
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#5149E1
secondary
#DEE1A5
accent
#EE39E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149E1

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

Preview Lab → · Contrast checker → · Palette generator →

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