#5143C7#5143C7

#5143C7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.1% C 0.196 H 280.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5143C7
RGBrgb(81, 67, 199)
HSLhsl(246, 54%, 52%)
HSVhsv(246, 66%, 78%)
CMYKcmyk(59.3%, 66.3%, 0%, 22%)
CIE-LABlab(37.64, 43.18, -66.90)
CIE-LCHlch(37.64, 79.63, 302.84°)
OKLaboklab(48.07% 0.0369 -0.1926)
OKLCHoklch(48.07% 0.196 280.8)
XYZxyz(15.7061, 9.8861, 55.1023)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143C7 #B9C743
analogous
#4377C7 #5143C7 #9343C7
triadic
#5143C7 #C75143 #43C751
tetradic
#5143C7 #C74377 #B9C743 #43C793
square
#5143C7 #C74377 #B9C743 #43C793
split-complementary
#5143C7 #C79343 #77C743
monochromatic
#29216F #3B2F9E #5143C7 #7D72D5 #A8A1E3

Accessibility & contrast

On white

7.05
#5143C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5143C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5143C7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143C7#FFFFFF#000000##FFFFFF
##5143C71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5143c7;
/* rgb */ color: rgb(81, 67, 199);
/* oklch */ color: oklch(48.1% 0.196 280.8);
Tailwind
colors: {
  custom: {
    50: '#8e78d9',
    500: '#5143c7',
    950: '#000000',
  },
}
SCSS
$custom: #5143c7;
$custom-light: #8e78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5143c7",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 246.364,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.19613,
    "h": 280.8
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#5143C7
secondary
#CAD096
accent
#DD4ACE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #5143C7

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

Preview Lab → · Contrast checker → · Palette generator →

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