#5143D7#5143D7

#5143D7 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.216 H 279.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5143D7
RGBrgb(81, 67, 215)
HSLhsl(246, 65%, 55%)
HSVhsv(246, 69%, 84%)
CMYKcmyk(62.3%, 68.8%, 0%, 15.7%)
CIE-LABlab(39.02, 48.18, -73.90)
CIE-LCHlch(39.02, 88.22, 303.11°)
OKLaboklab(49.48% 0.0347 -0.2131)
OKLCHoklch(49.48% 0.216 279.2)
XYZxyz(17.6623, 10.6686, 65.4053)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143D7 #C9D743
analogous
#437FD7 #5143D7 #9B43D7
triadic
#5143D7 #D75143 #43D751
tetradic
#5143D7 #D7437F #C9D743 #43D79B
square
#5143D7 #D7437F #C9D743 #43D79B
split-complementary
#5143D7 #D79B43 #7FD743
monochromatic
#261C84 #3427B6 #5143D7 #8075E2 #AEA8EC

Accessibility & contrast

On white

6.70
#5143D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5143D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143D7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143D7#FFFFFF#000000##FFFFFF
##5143D71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5143d7;
/* rgb */ color: rgb(81, 67, 215);
/* oklch */ color: oklch(49.5% 0.216 279.2);
Tailwind
colors: {
  custom: {
    50: '#9179e5',
    500: '#5143d7',
    950: '#000000',
  },
}
SCSS
$custom: #5143d7;
$custom-light: #9179e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5143d7",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 245.676,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.21592,
    "h": 279.2
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#5143D7
secondary
#D4DA9C
accent
#E840D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5143D7

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

Preview Lab → · Contrast checker → · Palette generator →

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