#5144D8#5144D8

#5144D8 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.216 H 279.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5144D8
RGBrgb(81, 68, 216)
HSLhsl(245, 65%, 56%)
HSVhsv(245, 69%, 85%)
CMYKcmyk(62.5%, 68.5%, 0%, 15.3%)
CIE-LABlab(39.31, 47.93, -73.99)
CIE-LCHlch(39.31, 88.16, 302.94°)
OKLaboklab(49.72% 0.0338 -0.2134)
OKLCHoklch(49.72% 0.216 279)
XYZxyz(17.8512, 10.8400, 66.1041)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144D8 #CBD844
analogous
#4481D8 #5144D8 #9B44D8
triadic
#5144D8 #D85144 #44D851
tetradic
#5144D8 #D84481 #CBD844 #44D89B
square
#5144D8 #D84481 #CBD844 #44D89B
split-complementary
#5144D8 #D89B44 #81D844
monochromatic
#251C86 #3326B8 #5144D8 #8077E3 #AFA9ED

Accessibility & contrast

On white

6.63
#5144D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5144D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144D8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144D8#FFFFFF#000000##FFFFFF
##5144D81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5144d8;
/* rgb */ color: rgb(81, 68, 216);
/* oklch */ color: oklch(49.7% 0.216 279.0);
Tailwind
colors: {
  custom: {
    50: '#9179e5',
    500: '#5144d8',
    950: '#000000',
  },
}
SCSS
$custom: #5144d8;
$custom-light: #9179e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5144d8",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 216
  },
  "hsl": {
    "h": 245.27,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.21606,
    "h": 279
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#5144D8
secondary
#D5DB9D
accent
#E83FDA
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5144D8

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

Preview Lab → · Contrast checker → · Palette generator →

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