#5149DD#5149DD

#5149DD is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.217 H 277.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5149DD
RGBrgb(81, 73, 221)
HSLhsl(243, 69%, 58%)
HSVhsv(243, 67%, 87%)
CMYKcmyk(63.3%, 67%, 0%, 13.3%)
CIE-LABlab(40.79, 46.66, -74.43)
CIE-LCHlch(40.79, 87.84, 302.09°)
OKLaboklab(50.92% 0.0294 -0.2147)
OKLCHoklch(50.92% 0.217 277.8)
XYZxyz(18.8228, 11.7333, 69.6654)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149DD #D5DD49
analogous
#498BDD #5149DD #9B49DD
triadic
#5149DD #DD5149 #49DD51
tetradic
#5149DD #DD498B #D5DD49 #49DD9B
square
#5149DD #DD498B #D5DD49 #49DD9B
split-complementary
#5149DD #DD9B49 #8BDD49
monochromatic
#211B91 #2D25C4 #5149DD #827DE7 #B4B0F0

Accessibility & contrast

On white

6.27
#5149DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5149DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149DD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149DD#FFFFFF#000000##FFFFFF
##5149DD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5149dd;
/* rgb */ color: rgb(81, 73, 221);
/* oklch */ color: oklch(50.9% 0.217 277.8);
Tailwind
colors: {
  custom: {
    50: '#917de9',
    500: '#5149dd',
    950: '#000000',
  },
}
SCSS
$custom: #5149dd;
$custom-light: #917de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5149dd",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 243.243,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.21669,
    "h": 277.8
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#5149DD
secondary
#DBDFA3
accent
#EB3CE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149DD

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

Preview Lab → · Contrast checker → · Palette generator →

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