#5144C8#5144C8

#5144C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.196 H 280.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5144C8
RGBrgb(81, 68, 200)
HSLhsl(246, 55%, 53%)
HSVhsv(246, 66%, 78%)
CMYKcmyk(59.5%, 66%, 0%, 21.6%)
CIE-LABlab(37.94, 42.91, -66.99)
CIE-LCHlch(37.94, 79.56, 302.64°)
OKLaboklab(48.31% 0.0359 -0.1929)
OKLCHoklch(48.31% 0.196 280.6)
XYZxyz(15.8825, 10.0526, 55.7358)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144C8 #BBC844
analogous
#4479C8 #5144C8 #9344C8
triadic
#5144C8 #C85144 #44C851
tetradic
#5144C8 #C84479 #BBC844 #44C893
square
#5144C8 #C84479 #BBC844 #44C893
split-complementary
#5144C8 #C89344 #79C844
monochromatic
#292171 #3A2FA0 #5144C8 #7D73D6 #A9A3E4

Accessibility & contrast

On white

6.97
#5144C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5144C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144C8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144C8#FFFFFF#000000##FFFFFF
##5144C81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5144c8;
/* rgb */ color: rgb(81, 68, 200);
/* oklch */ color: oklch(48.3% 0.196 280.6);
Tailwind
colors: {
  custom: {
    50: '#8e79da',
    500: '#5144c8',
    950: '#000000',
  },
}
SCSS
$custom: #5144c8;
$custom-light: #8e79da;
$custom-dark: #000000;
JSON
{
  "hex": "#5144c8",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 245.909,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.19622,
    "h": 280.6
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#5144C8
secondary
#CBD197
accent
#DE4ACF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144C8

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

Preview Lab → · Contrast checker → · Palette generator →

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