#5144DB#5144DB

#5144DB is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.220 H 278.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5144DB
RGBrgb(81, 68, 219)
HSLhsl(245, 68%, 56%)
HSVhsv(245, 69%, 86%)
CMYKcmyk(63%, 68.9%, 0%, 14.1%)
CIE-LABlab(39.57, 48.87, -75.27)
CIE-LCHlch(39.57, 89.75, 302.99°)
OKLaboklab(49.99% 0.0333 -0.2172)
OKLCHoklch(49.99% 0.22 278.7)
XYZxyz(18.2425, 10.9966, 68.1653)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144DB #CEDB44
analogous
#4483DB #5144DB #9D44DB
triadic
#5144DB #DB5144 #44DB51
tetradic
#5144DB #DB4483 #CEDB44 #44DB9D
square
#5144DB #DB4483 #CEDB44 #44DB9D
split-complementary
#5144DB #DB9D44 #83DB44
monochromatic
#241B8A #3224BD #5144DB #8177E5 #B1ABEF

Accessibility & contrast

On white

6.56
#5144DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5144DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144DB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144DB#FFFFFF#000000##FFFFFF
##5144DB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5144db;
/* rgb */ color: rgb(81, 68, 219);
/* oklch */ color: oklch(50.0% 0.220 278.7);
Tailwind
colors: {
  custom: {
    50: '#9179e7',
    500: '#5144db',
    950: '#000000',
  },
}
SCSS
$custom: #5144db;
$custom-light: #9179e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5144db",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 219
  },
  "hsl": {
    "h": 245.166,
    "s": 67.713,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.2197,
    "h": 278.7
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5144DB

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

Preview Lab → · Contrast checker → · Palette generator →

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