#5144E7#5144E7

#5144E7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.234 H 277.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5144E7
RGBrgb(81, 68, 231)
HSLhsl(245, 77%, 59%)
HSVhsv(245, 71%, 91%)
CMYKcmyk(64.9%, 70.6%, 0%, 9.4%)
CIE-LABlab(40.66, 52.59, -80.34)
CIE-LCHlch(40.66, 96.02, 303.21°)
OKLaboklab(51.1% 0.0313 -0.232)
OKLCHoklch(51.1% 0.234 277.7)
XYZxyz(19.8796, 11.6514, 76.7871)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144E7 #DAE744
analogous
#4488E7 #5144E7 #A244E7
triadic
#5144E7 #E75144 #44E751
tetradic
#5144E7 #E74488 #DAE744 #44E7A2
square
#5144E7 #E74488 #DAE744 #44E7A2
split-complementary
#5144E7 #E7A244 #88E744
monochromatic
#1F149D #2A1BD3 #5144E7 #837AEE #B6B0F5

Accessibility & contrast

On white

6.31
#5144E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5144E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144E7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144E7#FFFFFF#000000##FFFFFF
##5144E71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EC
Deuteranopia (green-blind)
#0059E4
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5144e7;
/* rgb */ color: rgb(81, 68, 231);
/* oklch */ color: oklch(51.1% 0.234 277.7);
Tailwind
colors: {
  custom: {
    50: '#947af0',
    500: '#5144e7',
    950: '#000000',
  },
}
SCSS
$custom: #5144e7;
$custom-light: #947af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5144e7",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 231
  },
  "hsl": {
    "h": 244.785,
    "s": 77.251,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.23407,
    "h": 277.7
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#5144E7
secondary
#DEE4A3
accent
#F434E4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5144E7

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

Preview Lab → · Contrast checker → · Palette generator →

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