#5149BF#5149BF

#5149BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.179 H 280.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5149BF
RGBrgb(81, 73, 191)
HSLhsl(244, 48%, 52%)
HSVhsv(244, 62%, 75%)
CMYKcmyk(57.6%, 61.8%, 0%, 25.1%)
CIE-LABlab(38.33, 37.07, -61.10)
CIE-LCHlch(38.33, 71.47, 301.25°)
OKLaboklab(48.37% 0.0323 -0.1756)
OKLCHoklch(48.37% 0.179 280.4)
XYZxyz(15.1769, 10.2750, 50.4636)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149BF #B7BF49
analogous
#497CBF #5149BF #8C49BF
triadic
#5149BF #BF5149 #49BF51
tetradic
#5149BF #BF497C #B7BF49 #49BF8C
square
#5149BF #BF497C #B7BF49 #49BF8C
split-complementary
#5149BF #BF8C49 #7CBF49
monochromatic
#292569 #3B3596 #5149BF #7C76CF #A8A4DF

Accessibility & contrast

On white

6.87
#5149BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5149BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149BF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149BF#FFFFFF#000000##FFFFFF
##5149BF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#10667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5149bf;
/* rgb */ color: rgb(81, 73, 191);
/* oklch */ color: oklch(48.4% 0.179 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c7cd3',
    500: '#5149bf',
    950: '#000000',
  },
}
SCSS
$custom: #5149bf;
$custom-light: #8c7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5149bf",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 244.068,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.17851,
    "h": 280.4
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#5149BF
secondary
#C8CC98
accent
#D850CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5149BF

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

Preview Lab → · Contrast checker → · Palette generator →

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