#5144CB#5144CB

#5144CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.6% C 0.200 H 280.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5144CB
RGBrgb(81, 68, 203)
HSLhsl(246, 56%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.1%, 66.5%, 0%, 20.4%)
CIE-LABlab(38.19, 43.86, -68.32)
CIE-LCHlch(38.19, 81.19, 302.70°)
OKLaboklab(48.57% 0.0356 -0.1968)
OKLCHoklch(48.57% 0.2 280.2)
XYZxyz(16.2365, 10.1942, 57.6004)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144CB #BECB44
analogous
#447ACB #5144CB #9444CB
triadic
#5144CB #CB5144 #44CB51
tetradic
#5144CB #CB447A #BECB44 #44CB94
square
#5144CB #CB447A #BECB44 #44CB94
split-complementary
#5144CB #CB9444 #7ACB44
monochromatic
#282074 #392EA4 #5144CB #7E74D8 #AAA4E6

Accessibility & contrast

On white

6.91
#5144CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5144CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144CB#FFFFFF#000000##FFFFFF
##5144CB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5144cb;
/* rgb */ color: rgb(81, 68, 203);
/* oklch */ color: oklch(48.6% 0.200 280.2);
Tailwind
colors: {
  custom: {
    50: '#8f79dc',
    500: '#5144cb',
    950: '#000000',
  },
}
SCSS
$custom: #5144cb;
$custom-light: #8f79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5144cb",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 245.778,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.19999,
    "h": 280.2
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#5144CB
secondary
#CDD398
accent
#E048D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144CB

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

Preview Lab → · Contrast checker → · Palette generator →

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