#5144D3#5144D3

#5144D3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.210 H 279.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5144D3
RGBrgb(81, 68, 211)
HSLhsl(245, 62%, 55%)
HSVhsv(245, 68%, 83%)
CMYKcmyk(61.6%, 67.8%, 0%, 17.3%)
CIE-LABlab(38.87, 46.37, -71.83)
CIE-LCHlch(38.87, 85.50, 302.85°)
OKLaboklab(49.27% 0.0345 -0.2071)
OKLCHoklch(49.27% 0.21 279.5)
XYZxyz(17.2146, 10.5854, 62.7514)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144D3 #C6D344
analogous
#447ED3 #5144D3 #9944D3
triadic
#5144D3 #D35144 #44D351
tetradic
#5144D3 #D3447E #C6D344 #44D399
square
#5144D3 #D3447E #C6D344 #44D399
split-complementary
#5144D3 #D39944 #7ED344
monochromatic
#271E7F #3629B0 #5144D3 #7F76DF #ADA7EA

Accessibility & contrast

On white

6.74
#5144D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5144D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144D3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144D3#FFFFFF#000000##FFFFFF
##5144D31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5144d3;
/* rgb */ color: rgb(81, 68, 211);
/* oklch */ color: oklch(49.3% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#9079e2',
    500: '#5144d3',
    950: '#000000',
  },
}
SCSS
$custom: #5144d3;
$custom-light: #9079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5144d3",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 211
  },
  "hsl": {
    "h": 245.455,
    "s": 61.905,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.20992,
    "h": 279.5
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#5144D3
secondary
#D2D89B
accent
#E543D6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5144D3

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

Preview Lab → · Contrast checker → · Palette generator →

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