#5149BC#5149BC

#5149BC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.175 H 280.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5149BC
RGBrgb(81, 73, 188)
HSLhsl(244, 46%, 51%)
HSVhsv(244, 61%, 74%)
CMYKcmyk(56.9%, 61.2%, 0%, 26.3%)
CIE-LABlab(38.10, 36.11, -59.72)
CIE-LCHlch(38.10, 69.79, 301.16°)
OKLaboklab(48.13% 0.0324 -0.1715)
OKLCHoklch(48.13% 0.175 280.7)
XYZxyz(14.8501, 10.1443, 48.7427)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149BC #B4BC49
analogous
#497ABC #5149BC #8A49BC
triadic
#5149BC #BC5149 #49BC51
tetradic
#5149BC #BC497A #B4BC49 #49BC8A
square
#5149BC #BC497A #B4BC49 #49BC8A
split-complementary
#5149BC #BC8A49 #7ABC49
monochromatic
#2A2565 #3C3692 #5149BC #7C76CC #A7A2DD

Accessibility & contrast

On white

6.93
#5149BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5149BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149BC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149BC#FFFFFF#000000##FFFFFF
##5149BC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#16657B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5149bc;
/* rgb */ color: rgb(81, 73, 188);
/* oklch */ color: oklch(48.1% 0.175 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c7cd1',
    500: '#5149bc',
    950: '#000000',
  },
}
SCSS
$custom: #5149bc;
$custom-light: #8c7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5149bc",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 244.174,
    "s": 46.185,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.17456,
    "h": 280.7
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#5149BC
secondary
#C6CA97
accent
#D652CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5149BC

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

Preview Lab → · Contrast checker → · Palette generator →

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