#5143C8#5143C8

#5143C8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.2% C 0.197 H 280.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5143C8
RGBrgb(81, 67, 200)
HSLhsl(246, 55%, 52%)
HSVhsv(246, 67%, 78%)
CMYKcmyk(59.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(37.72, 43.49, -67.35)
CIE-LCHlch(37.72, 80.17, 302.86°)
OKLaboklab(48.15% 0.0368 -0.1939)
OKLCHoklch(48.15% 0.197 280.7)
XYZxyz(15.8225, 9.9327, 55.7158)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143C8 #BAC843
analogous
#4377C8 #5143C8 #9443C8
triadic
#5143C8 #C85143 #43C851
tetradic
#5143C8 #C84377 #BAC843 #43C894
square
#5143C8 #C84377 #BAC843 #43C894
split-complementary
#5143C8 #C89443 #77C843
monochromatic
#292170 #3A2F9F #5143C8 #7D72D6 #A9A2E4

Accessibility & contrast

On white

7.03
#5143C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5143C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5143C8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143C8#FFFFFF#000000##FFFFFF
##5143C81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5143c8;
/* rgb */ color: rgb(81, 67, 200);
/* oklch */ color: oklch(48.2% 0.197 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e78da',
    500: '#5143c8',
    950: '#000000',
  },
}
SCSS
$custom: #5143c8;
$custom-light: #8e78da;
$custom-dark: #000000;
JSON
{
  "hex": "#5143c8",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 246.316,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.19739,
    "h": 280.7
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#5143C8
secondary
#CAD096
accent
#DE4ACE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5143C8

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

Preview Lab → · Contrast checker → · Palette generator →

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