#5144CC#5144CC

#5144CC is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.201 H 280.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5144CC
RGBrgb(81, 68, 204)
HSLhsl(246, 57%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(60.3%, 66.7%, 0%, 20%)
CIE-LABlab(38.27, 44.17, -68.77)
CIE-LCHlch(38.27, 81.73, 302.72°)
OKLaboklab(48.66% 0.0355 -0.1981)
OKLCHoklch(48.66% 0.201 280.1)
XYZxyz(16.3561, 10.2420, 58.2300)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144CC #BFCC44
analogous
#447BCC #5144CC #9544CC
triadic
#5144CC #CC5144 #44CC51
tetradic
#5144CC #CC447B #BFCC44 #44CC95
square
#5144CC #CC447B #BFCC44 #44CC95
split-complementary
#5144CC #CC9544 #7BCC44
monochromatic
#282076 #392DA6 #5144CC #7E74D9 #AAA4E6

Accessibility & contrast

On white

6.89
#5144CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5144CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144CC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144CC#FFFFFF#000000##FFFFFF
##5144CC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5144cc;
/* rgb */ color: rgb(81, 68, 204);
/* oklch */ color: oklch(48.7% 0.201 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f79dd',
    500: '#5144cc',
    950: '#000000',
  },
}
SCSS
$custom: #5144cc;
$custom-light: #8f79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5144cc",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 245.735,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.20124,
    "h": 280.1
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#5144CC
secondary
#CED399
accent
#E047D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144CC

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

Preview Lab → · Contrast checker → · Palette generator →

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