#5144CD#5144CD

#5144CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.202 H 280.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5144CD
RGBrgb(81, 68, 205)
HSLhsl(246, 58%, 54%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.5%, 66.8%, 0%, 19.6%)
CIE-LABlab(38.36, 44.49, -69.21)
CIE-LCHlch(38.36, 82.27, 302.73°)
OKLaboklab(48.74% 0.0353 -0.1994)
OKLCHoklch(48.74% 0.202 280)
XYZxyz(16.4764, 10.2902, 58.8637)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144CD #C0CD44
analogous
#447BCD #5144CD #9544CD
triadic
#5144CD #CD5144 #44CD51
tetradic
#5144CD #CD447B #C0CD44 #44CD95
square
#5144CD #CD447B #C0CD44 #44CD95
split-complementary
#5144CD #CD9544 #7BCD44
monochromatic
#282077 #382DA7 #5144CD #7E74DA #ABA5E7

Accessibility & contrast

On white

6.87
#5144CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5144CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144CD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144CD#FFFFFF#000000##FFFFFF
##5144CD1.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)
#005FD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5144cd;
/* rgb */ color: rgb(81, 68, 205);
/* oklch */ color: oklch(48.7% 0.202 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f79dd',
    500: '#5144cd',
    950: '#000000',
  },
}
SCSS
$custom: #5144cd;
$custom-light: #8f79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5144cd",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 205
  },
  "hsl": {
    "h": 245.693,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.20248,
    "h": 280
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#5144CD
secondary
#CED499
accent
#E147D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144CD

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

Preview Lab → · Contrast checker → · Palette generator →

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