#5144CE#5144CE

#5144CE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.204 H 279.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5144CE
RGBrgb(81, 68, 206)
HSLhsl(246, 58%, 54%)
HSVhsv(246, 67%, 81%)
CMYKcmyk(60.7%, 67%, 0%, 19.2%)
CIE-LABlab(38.44, 44.80, -69.65)
CIE-LCHlch(38.44, 82.81, 302.75°)
OKLaboklab(48.83% 0.0352 -0.2007)
OKLCHoklch(48.83% 0.204 279.9)
XYZxyz(16.5975, 10.3386, 59.5015)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144CE #C1CE44
analogous
#447CCE #5144CE #9644CE
triadic
#5144CE #CE5144 #44CE51
tetradic
#5144CE #CE447C #C1CE44 #44CE96
square
#5144CE #CE447C #C1CE44 #44CE96
split-complementary
#5144CE #CE9644 #7CCE44
monochromatic
#281F78 #382CA9 #5144CE #7E74DB #ABA5E7

Accessibility & contrast

On white

6.84
#5144CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5144CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144CE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144CE#FFFFFF#000000##FFFFFF
##5144CE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5144ce;
/* rgb */ color: rgb(81, 68, 206);
/* oklch */ color: oklch(48.8% 0.204 279.9);
Tailwind
colors: {
  custom: {
    50: '#8f79de',
    500: '#5144ce',
    950: '#000000',
  },
}
SCSS
$custom: #5144ce;
$custom-light: #8f79de;
$custom-dark: #000000;
JSON
{
  "hex": "#5144ce",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 206
  },
  "hsl": {
    "h": 245.652,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.20373,
    "h": 279.9
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#5144CE
secondary
#CFD499
accent
#E246D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144CE

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

Preview Lab → · Contrast checker → · Palette generator →

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