#5144DA#5144DA

#5144DA is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.218 H 278.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5144DA
RGBrgb(81, 68, 218)
HSLhsl(245, 67%, 56%)
HSVhsv(245, 69%, 85%)
CMYKcmyk(62.8%, 68.8%, 0%, 14.5%)
CIE-LABlab(39.49, 48.56, -74.85)
CIE-LCHlch(39.49, 89.22, 302.97°)
OKLaboklab(49.9% 0.0335 -0.2159)
OKLCHoklch(49.9% 0.218 278.8)
XYZxyz(18.1113, 10.9441, 67.4741)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144DA #CDDA44
analogous
#4482DA #5144DA #9C44DA
triadic
#5144DA #DA5144 #44DA51
tetradic
#5144DA #DA4482 #CDDA44 #44DA9C
square
#5144DA #DA4482 #CDDA44 #44DA9C
split-complementary
#5144DA #DA9C44 #82DA44
monochromatic
#251B89 #3225BC #5144DA #8177E4 #B0AAEE

Accessibility & contrast

On white

6.58
#5144DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5144DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144DA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144DA#FFFFFF#000000##FFFFFF
##5144DA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5144da;
/* rgb */ color: rgb(81, 68, 218);
/* oklch */ color: oklch(49.9% 0.218 278.8);
Tailwind
colors: {
  custom: {
    50: '#9179e7',
    500: '#5144da',
    950: '#000000',
  },
}
SCSS
$custom: #5144da;
$custom-light: #9179e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5144da",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 218
  },
  "hsl": {
    "h": 245.2,
    "s": 66.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.21849,
    "h": 278.8
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#5144DA
secondary
#D7DC9E
accent
#EA3EDB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5144DA

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

Preview Lab → · Contrast checker → · Palette generator →

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