#5149DE#5149DE

#5149DE is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.218 H 277.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5149DE
RGBrgb(81, 73, 222)
HSLhsl(243, 69%, 58%)
HSVhsv(243, 67%, 87%)
CMYKcmyk(63.5%, 67.1%, 0%, 12.9%)
CIE-LABlab(40.88, 46.98, -74.86)
CIE-LCHlch(40.88, 88.38, 302.11°)
OKLaboklab(51.01% 0.0293 -0.2159)
OKLCHoklch(51.01% 0.218 277.7)
XYZxyz(18.9564, 11.7868, 70.3692)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149DE #D6DE49
analogous
#498CDE #5149DE #9B49DE
triadic
#5149DE #DE5149 #49DE51
tetradic
#5149DE #DE498C #D6DE49 #49DE9B
square
#5149DE #DE498C #D6DE49 #49DE9B
split-complementary
#5149DE #DE9B49 #8CDE49
monochromatic
#211A92 #2D24C6 #5149DE #837DE7 #B4B1F1

Accessibility & contrast

On white

6.25
#5149DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5149DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149DE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149DE#FFFFFF#000000##FFFFFF
##5149DE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005ADB
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5149de;
/* rgb */ color: rgb(81, 73, 222);
/* oklch */ color: oklch(51.0% 0.218 277.7);
Tailwind
colors: {
  custom: {
    50: '#927de9',
    500: '#5149de',
    950: '#000000',
  },
}
SCSS
$custom: #5149de;
$custom-light: #927de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5149de",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 222
  },
  "hsl": {
    "h": 243.221,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.21792,
    "h": 277.7
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#5149DE
secondary
#DCDFA4
accent
#EC3CE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5149DE

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

Preview Lab → · Contrast checker → · Palette generator →

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