#5149DA#5149DA

#5149DA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.213 H 278.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5149DA
RGBrgb(81, 73, 218)
HSLhsl(243, 66%, 57%)
HSVhsv(243, 67%, 85%)
CMYKcmyk(62.8%, 66.5%, 0%, 14.5%)
CIE-LABlab(40.53, 45.71, -73.13)
CIE-LCHlch(40.53, 86.24, 302.01°)
OKLaboklab(50.65% 0.0298 -0.2109)
OKLCHoklch(50.65% 0.213 278)
XYZxyz(18.4267, 11.5749, 67.5792)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149DA #D2DA49
analogous
#498ADA #5149DA #9949DA
triadic
#5149DA #DA5149 #49DA51
tetradic
#5149DA #DA498A #D2DA49 #49DA99
square
#5149DA #DA498A #D2DA49 #49DA99
split-complementary
#5149DA #DA9949 #8ADA49
monochromatic
#231C8C #2F27BF #5149DA #827CE4 #B2AFEF

Accessibility & contrast

On white

6.33
#5149DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5149DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149DA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149DA#FFFFFF#000000##FFFFFF
##5149DA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5149da;
/* rgb */ color: rgb(81, 73, 218);
/* oklch */ color: oklch(50.7% 0.213 278.0);
Tailwind
colors: {
  custom: {
    50: '#917de7',
    500: '#5149da',
    950: '#000000',
  },
}
SCSS
$custom: #5149da;
$custom-light: #917de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5149da",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 243.31,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.21297,
    "h": 278
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#5149DA
secondary
#DADDA2
accent
#E93FE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149DA

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

Preview Lab → · Contrast checker → · Palette generator →

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