#5149D9#5149D9

#5149D9 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.212 H 278.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5149D9
RGBrgb(81, 73, 217)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(62.7%, 66.4%, 0%, 14.9%)
CIE-LABlab(40.45, 45.39, -72.70)
CIE-LCHlch(40.45, 85.70, 301.98°)
OKLaboklab(50.57% 0.0299 -0.2096)
OKLCHoklch(50.57% 0.212 278.1)
XYZxyz(18.2962, 11.5227, 66.8921)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149D9 #D1D949
analogous
#4989D9 #5149D9 #9949D9
triadic
#5149D9 #D95149 #49D951
tetradic
#5149D9 #D94989 #D1D949 #49D999
square
#5149D9 #D94989 #D1D949 #49D999
split-complementary
#5149D9 #D99949 #89D949
monochromatic
#231D8B #3028BD #5149D9 #817CE4 #B2AEEE

Accessibility & contrast

On white

6.35
#5149D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5149D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149D9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149D9#FFFFFF#000000##FFFFFF
##5149D91.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5149d9;
/* rgb */ color: rgb(81, 73, 217);
/* oklch */ color: oklch(50.6% 0.212 278.1);
Tailwind
colors: {
  custom: {
    50: '#917de6',
    500: '#5149d9',
    950: '#000000',
  },
}
SCSS
$custom: #5149d9;
$custom-light: #917de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5149d9",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 243.333,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.21173,
    "h": 278.1
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#5149D9
secondary
#D9DCA2
accent
#E83FDF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149D9

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

Preview Lab → · Contrast checker → · Palette generator →

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