#5143BC#5143BC

#5143BC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.182 H 282.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5143BC
RGBrgb(81, 67, 188)
HSLhsl(247, 47%, 50%)
HSVhsv(247, 64%, 74%)
CMYKcmyk(56.9%, 64.4%, 0%, 26.3%)
CIE-LABlab(36.73, 39.72, -61.95)
CIE-LCHlch(36.73, 73.59, 302.67°)
OKLaboklab(47.13% 0.0381 -0.1781)
OKLCHoklch(47.13% 0.182 282.1)
XYZxyz(14.4748, 9.3936, 48.6176)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143BC #AEBC43
analogous
#4372BC #5143BC #8D43BC
triadic
#5143BC #BC5143 #43BC51
tetradic
#5143BC #BC4372 #AEBC43 #43BC8D
square
#5143BC #BC4372 #AEBC43 #43BC8D
split-complementary
#5143BC #BC8D43 #72BC43
monochromatic
#2A2362 #3E338F #5143BC #7B70CC #A59DDC

Accessibility & contrast

On white

7.29
#5143BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5143BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5143BC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143BC#FFFFFF#000000##FFFFFF
##5143BC1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#186179
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5143bc;
/* rgb */ color: rgb(81, 67, 188);
/* oklch */ color: oklch(47.1% 0.182 282.1);
Tailwind
colors: {
  custom: {
    50: '#8c78d1',
    500: '#5143bc',
    950: '#000000',
  },
}
SCSS
$custom: #5143bc;
$custom-light: #8c78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5143bc",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 246.942,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.18212,
    "h": 282.1
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#5143BC
secondary
#C2C992
accent
#D751C8
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5143BC

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

Preview Lab → · Contrast checker → · Palette generator →

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