#5149DC#5149DC

#5149DC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.215 H 277.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5149DC
RGBrgb(81, 73, 220)
HSLhsl(243, 68%, 57%)
HSVhsv(243, 67%, 86%)
CMYKcmyk(63.2%, 66.8%, 0%, 13.7%)
CIE-LABlab(40.70, 46.34, -74.00)
CIE-LCHlch(40.70, 87.31, 302.06°)
OKLaboklab(50.83% 0.0295 -0.2134)
OKLCHoklch(50.83% 0.215 277.9)
XYZxyz(18.6900, 11.6802, 68.9659)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149DC #D4DC49
analogous
#498BDC #5149DC #9A49DC
triadic
#5149DC #DC5149 #49DC51
tetradic
#5149DC #DC498B #D4DC49 #49DC9A
square
#5149DC #DC498B #D4DC49 #49DC9A
split-complementary
#5149DC #DC9A49 #8BDC49
monochromatic
#221C8F #2E25C2 #5149DC #827CE6 #B3B0F0

Accessibility & contrast

On white

6.29
#5149DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5149DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149DC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149DC#FFFFFF#000000##FFFFFF
##5149DC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5149dc;
/* rgb */ color: rgb(81, 73, 220);
/* oklch */ color: oklch(50.8% 0.215 277.9);
Tailwind
colors: {
  custom: {
    50: '#917de8',
    500: '#5149dc',
    950: '#000000',
  },
}
SCSS
$custom: #5149dc;
$custom-light: #917de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5149dc",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 243.265,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.21545,
    "h": 277.9
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#5149DC
secondary
#DBDEA3
accent
#EB3DE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149DC

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

Preview Lab → · Contrast checker → · Palette generator →

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