#5144D2#5144D2

#5144D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.209 H 279.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5144D2
RGBrgb(81, 68, 210)
HSLhsl(245, 61%, 55%)
HSVhsv(245, 68%, 82%)
CMYKcmyk(61.4%, 67.6%, 0%, 17.6%)
CIE-LABlab(38.79, 46.06, -71.39)
CIE-LCHlch(38.79, 84.96, 302.83°)
OKLaboklab(49.19% 0.0347 -0.2058)
OKLCHoklch(49.19% 0.209 279.6)
XYZxyz(17.0896, 10.5354, 62.0932)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144D2 #C5D244
analogous
#447ED2 #5144D2 #9844D2
triadic
#5144D2 #D25144 #44D251
tetradic
#5144D2 #D2447E #C5D244 #44D298
square
#5144D2 #D2447E #C5D244 #44D298
split-complementary
#5144D2 #D29844 #7ED244
monochromatic
#271E7D #362AAF #5144D2 #7F75DE #ADA7EA

Accessibility & contrast

On white

6.76
#5144D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5144D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144D2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144D2#FFFFFF#000000##FFFFFF
##5144D21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5144d2;
/* rgb */ color: rgb(81, 68, 210);
/* oklch */ color: oklch(49.2% 0.209 279.6);
Tailwind
colors: {
  custom: {
    50: '#9079e1',
    500: '#5144d2',
    950: '#000000',
  },
}
SCSS
$custom: #5144d2;
$custom-light: #9079e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5144d2",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 245.493,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.20869,
    "h": 279.6
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#5144D2
secondary
#D1D79B
accent
#E443D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144D2

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

Preview Lab → · Contrast checker → · Palette generator →

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