#5149C8#5149C8

#5149C8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.1% C 0.190 H 279.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5149C8
RGBrgb(81, 73, 200)
HSLhsl(244, 54%, 54%)
HSVhsv(244, 64%, 78%)
CMYKcmyk(59.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(39.04, 39.96, -65.19)
CIE-LCHlch(39.04, 76.46, 301.51°)
OKLaboklab(49.11% 0.0316 -0.1876)
OKLCHoklch(49.11% 0.19 279.6)
XYZxyz(16.1979, 10.6834, 55.8409)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149C8 #C0C849
analogous
#4980C8 #5149C8 #9049C8
triadic
#5149C8 #C85149 #49C851
tetradic
#5149C8 #C84980 #C0C849 #49C890
square
#5149C8 #C84980 #C0C849 #49C890
split-complementary
#5149C8 #C89049 #80C849
monochromatic
#282374 #3831A3 #5149C8 #7E78D6 #ABA7E4

Accessibility & contrast

On white

6.69
#5149C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5149C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149C8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149C8#FFFFFF#000000##FFFFFF
##5149C81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5149c8;
/* rgb */ color: rgb(81, 73, 200);
/* oklch */ color: oklch(49.1% 0.190 279.6);
Tailwind
colors: {
  custom: {
    50: '#8e7cda',
    500: '#5149c8',
    950: '#000000',
  },
}
SCSS
$custom: #5149c8;
$custom-light: #8e7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5149c8",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 243.78,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.19023,
    "h": 279.6
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#5149C8
secondary
#CED29B
accent
#DD4BD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #5149C8

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

Preview Lab → · Contrast checker → · Palette generator →

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