#5144DD#5144DD

#5144DD is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.222 H 278.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5144DD
RGBrgb(81, 68, 221)
HSLhsl(245, 69%, 57%)
HSVhsv(245, 69%, 87%)
CMYKcmyk(63.3%, 69.2%, 0%, 13.3%)
CIE-LABlab(39.75, 49.49, -76.13)
CIE-LCHlch(39.75, 90.80, 303.03°)
OKLaboklab(50.17% 0.033 -0.2196)
OKLCHoklch(50.17% 0.222 278.5)
XYZxyz(18.5074, 11.1025, 69.5603)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144DD #D0DD44
analogous
#4484DD #5144DD #9E44DD
triadic
#5144DD #DD5144 #44DD51
tetradic
#5144DD #DD4484 #D0DD44 #44DD9E
square
#5144DD #DD4484 #D0DD44 #44DD9E
split-complementary
#5144DD #DD9E44 #84DD44
monochromatic
#231A8D #3023C1 #5144DD #8178E6 #B1ACF0

Accessibility & contrast

On white

6.52
#5144DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5144DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144DD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144DD#FFFFFF#000000##FFFFFF
##5144DD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0057DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5144dd;
/* rgb */ color: rgb(81, 68, 221);
/* oklch */ color: oklch(50.2% 0.222 278.5);
Tailwind
colors: {
  custom: {
    50: '#927ae9',
    500: '#5144dd',
    950: '#000000',
  },
}
SCSS
$custom: #5144dd;
$custom-light: #927ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5144dd",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 221
  },
  "hsl": {
    "h": 245.098,
    "s": 69.231,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.22212,
    "h": 278.5
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#5144DD
secondary
#D8DE9F
accent
#EC3CDD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5144DD

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

Preview Lab → · Contrast checker → · Palette generator →

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