#5144BD#5144BD

#5144BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.182 H 281.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5144BD
RGBrgb(81, 68, 189)
HSLhsl(246, 48%, 50%)
HSVhsv(246, 64%, 74%)
CMYKcmyk(57.1%, 64%, 0%, 25.9%)
CIE-LABlab(37.03, 39.44, -62.04)
CIE-LCHlch(37.03, 73.52, 302.45°)
OKLaboklab(47.38% 0.0371 -0.1784)
OKLCHoklch(47.38% 0.182 281.8)
XYZxyz(14.6429, 9.5567, 49.2073)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144BD #B0BD44
analogous
#4474BD #5144BD #8D44BD
triadic
#5144BD #BD5144 #44BD51
tetradic
#5144BD #BD4474 #B0BD44 #44BD8D
square
#5144BD #BD4474 #B0BD44 #44BD8D
split-complementary
#5144BD #BD8D44 #74BD44
monochromatic
#2A2363 #3D3391 #5144BD #7B71CD #A59EDD

Accessibility & contrast

On white

7.21
#5144BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5144BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5144BD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144BD#FFFFFF#000000##FFFFFF
##5144BD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#16627A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5144bd;
/* rgb */ color: rgb(81, 68, 189);
/* oklch */ color: oklch(47.4% 0.182 281.8);
Tailwind
colors: {
  custom: {
    50: '#8c79d2',
    500: '#5144bd',
    950: '#000000',
  },
}
SCSS
$custom: #5144bd;
$custom-light: #8c79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5144bd",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 189
  },
  "hsl": {
    "h": 246.446,
    "s": 47.826,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47375,
    "c": 0.18218,
    "h": 281.8
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#5144BD
secondary
#C4C993
accent
#D750C9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5144BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5144BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva