#5143C3#5143C3

#5143C3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.191 H 281.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5143C3
RGBrgb(81, 67, 195)
HSLhsl(247, 52%, 51%)
HSVhsv(247, 66%, 76%)
CMYKcmyk(58.5%, 65.6%, 0%, 23.5%)
CIE-LABlab(37.30, 41.92, -65.12)
CIE-LCHlch(37.30, 77.44, 302.78°)
OKLaboklab(47.72% 0.0374 -0.1874)
OKLCHoklch(47.72% 0.191 281.3)
XYZxyz(15.2477, 9.7027, 52.6885)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143C3 #B5C343
analogous
#4375C3 #5143C3 #9143C3
triadic
#5143C3 #C35143 #43C351
tetradic
#5143C3 #C34375 #B5C343 #43C391
square
#5143C3 #C34375 #B5C343 #43C391
split-complementary
#5143C3 #C39143 #75C343
monochromatic
#2A226A #3C3198 #5143C3 #7C71D2 #A7A0E1

Accessibility & contrast

On white

7.14
#5143C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5143C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5143C3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143C3#FFFFFF#000000##FFFFFF
##5143C31.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#05647D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5143c3;
/* rgb */ color: rgb(81, 67, 195);
/* oklch */ color: oklch(47.7% 0.191 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d78d6',
    500: '#5143c3',
    950: '#000000',
  },
}
SCSS
$custom: #5143c3;
$custom-light: #8d78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5143c3",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 246.563,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.19107,
    "h": 281.3
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#5143C3
secondary
#C7CD95
accent
#DB4DCC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5143C3

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

Preview Lab → · Contrast checker → · Palette generator →

#5143C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva