#5143BF#5143BF

#5143BF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.4% C 0.186 H 281.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5143BF
RGBrgb(81, 67, 191)
HSLhsl(247, 49%, 51%)
HSVhsv(247, 65%, 75%)
CMYKcmyk(57.6%, 64.9%, 0%, 25.1%)
CIE-LABlab(36.97, 40.66, -63.31)
CIE-LCHlch(36.97, 75.25, 302.71°)
OKLaboklab(47.38% 0.0378 -0.1821)
OKLCHoklch(47.38% 0.186 281.7)
XYZxyz(14.8015, 9.5243, 50.3385)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143BF #B1BF43
analogous
#4373BF #5143BF #8F43BF
triadic
#5143BF #BF5143 #43BF51
tetradic
#5143BF #BF4373 #B1BF43 #43BF8F
square
#5143BF #BF4373 #B1BF43 #43BF8F
split-complementary
#5143BF #BF8F43 #73BF43
monochromatic
#2A2265 #3D3293 #5143BF #7B71CF #A69EDE

Accessibility & contrast

On white

7.23
#5143BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5143BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5143BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143BF#FFFFFF#000000##FFFFFF
##5143BF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#12627B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5143bf;
/* rgb */ color: rgb(81, 67, 191);
/* oklch */ color: oklch(47.4% 0.186 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d78d3',
    500: '#5143bf',
    950: '#000000',
  },
}
SCSS
$custom: #5143bf;
$custom-light: #8d78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5143bf",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 246.774,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.18598,
    "h": 281.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#5143BF
secondary
#C4CA93
accent
#D94FC9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5143BF

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

Preview Lab → · Contrast checker → · Palette generator →

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