#5144CF#5144CF

#5144CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.205 H 279.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5144CF
RGBrgb(81, 68, 207)
HSLhsl(246, 59%, 54%)
HSVhsv(246, 67%, 81%)
CMYKcmyk(60.9%, 67.1%, 0%, 18.8%)
CIE-LABlab(38.53, 45.12, -70.08)
CIE-LCHlch(38.53, 83.35, 302.77°)
OKLaboklab(48.92% 0.0351 -0.202)
OKLCHoklch(48.92% 0.205 279.8)
XYZxyz(16.7194, 10.3873, 60.1433)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144CF #C2CF44
analogous
#447DCF #5144CF #9744CF
triadic
#5144CF #CF5144 #44CF51
tetradic
#5144CF #CF447D #C2CF44 #44CF97
square
#5144CF #CF447D #C2CF44 #44CF97
split-complementary
#5144CF #CF9744 #7DCF44
monochromatic
#281F79 #372CAA #5144CF #7E75DC #ACA5E8

Accessibility & contrast

On white

6.82
#5144CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5144CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144CF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144CF#FFFFFF#000000##FFFFFF
##5144CF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5144cf;
/* rgb */ color: rgb(81, 68, 207);
/* oklch */ color: oklch(48.9% 0.205 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f79df',
    500: '#5144cf',
    950: '#000000',
  },
}
SCSS
$custom: #5144cf;
$custom-light: #8f79df;
$custom-dark: #000000;
JSON
{
  "hex": "#5144cf",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 207
  },
  "hsl": {
    "h": 245.612,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.20498,
    "h": 279.8
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#5144CF
secondary
#D0D59A
accent
#E245D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5144CF

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

Preview Lab → · Contrast checker → · Palette generator →

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