#5143D5#5143D5

#5143D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.213 H 279.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5143D5
RGBrgb(81, 67, 213)
HSLhsl(246, 63%, 55%)
HSVhsv(246, 69%, 84%)
CMYKcmyk(62%, 68.5%, 0%, 16.5%)
CIE-LABlab(38.84, 47.56, -73.03)
CIE-LCHlch(38.84, 87.16, 303.07°)
OKLaboklab(49.3% 0.035 -0.2106)
OKLCHoklch(49.3% 0.213 279.4)
XYZxyz(17.4069, 10.5664, 64.0601)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143D5 #C7D543
analogous
#437ED5 #5143D5 #9A43D5
triadic
#5143D5 #D55143 #43D551
tetradic
#5143D5 #D5437E #C7D543 #43D59A
square
#5143D5 #D5437E #C7D543 #43D59A
split-complementary
#5143D5 #D59A43 #7ED543
monochromatic
#261D81 #3528B3 #5143D5 #7F75E0 #AEA7EB

Accessibility & contrast

On white

6.74
#5143D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5143D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143D5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143D5#FFFFFF#000000##FFFFFF
##5143D51.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5143d5;
/* rgb */ color: rgb(81, 67, 213);
/* oklch */ color: oklch(49.3% 0.213 279.4);
Tailwind
colors: {
  custom: {
    50: '#9079e3',
    500: '#5143d5',
    950: '#000000',
  },
}
SCSS
$custom: #5143d5;
$custom-light: #9079e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5143d5",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 245.753,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.21348,
    "h": 279.4
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#5143D5
secondary
#D3D99B
accent
#E741D7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5143D5

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

Preview Lab → · Contrast checker → · Palette generator →

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