#5144DF#5144DF

#5144DF is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.225 H 278.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5144DF
RGBrgb(81, 68, 223)
HSLhsl(245, 71%, 57%)
HSVhsv(245, 70%, 87%)
CMYKcmyk(63.7%, 69.5%, 0%, 12.5%)
CIE-LABlab(39.93, 50.11, -76.98)
CIE-LCHlch(39.93, 91.85, 303.07°)
OKLaboklab(50.36% 0.0327 -0.2221)
OKLCHoklch(50.36% 0.225 278.4)
XYZxyz(18.7755, 11.2098, 70.9720)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144DF #D2DF44
analogous
#4485DF #5144DF #9E44DF
triadic
#5144DF #DF5144 #44DF51
tetradic
#5144DF #DF4485 #D2DF44 #44DF9E
square
#5144DF #DF4485 #D2DF44 #44DF9E
split-complementary
#5144DF #DF9E44 #85DF44
monochromatic
#231990 #2F22C4 #5144DF #8278E8 #B2ADF1

Accessibility & contrast

On white

6.48
#5144DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5144DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144DF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144DF#FFFFFF#000000##FFFFFF
##5144DF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5144df;
/* rgb */ color: rgb(81, 68, 223);
/* oklch */ color: oklch(50.4% 0.225 278.4);
Tailwind
colors: {
  custom: {
    50: '#927aea',
    500: '#5144df',
    950: '#000000',
  },
}
SCSS
$custom: #5144df;
$custom-light: #927aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5144df",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 223
  },
  "hsl": {
    "h": 245.032,
    "s": 70.776,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.22453,
    "h": 278.4
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#5144DF
secondary
#DADFA0
accent
#EE3ADF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5144DF

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

Preview Lab → · Contrast checker → · Palette generator →

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