#5143E1#5143E1

#5143E1 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.228 H 278.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5143E1
RGBrgb(81, 67, 225)
HSLhsl(245, 72%, 57%)
HSVhsv(245, 70%, 88%)
CMYKcmyk(64%, 70.2%, 0%, 11.8%)
CIE-LABlab(39.91, 51.28, -78.15)
CIE-LCHlch(39.91, 93.47, 303.27°)
OKLaboklab(50.4% 0.033 -0.2256)
OKLCHoklch(50.4% 0.228 278.3)
XYZxyz(18.9867, 11.1983, 72.3805)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143E1 #D3E143
analogous
#4384E1 #5143E1 #A043E1
triadic
#5143E1 #E15143 #43E151
tetradic
#5143E1 #E14384 #D3E143 #43E1A0
square
#5143E1 #E14384 #D3E143 #43E1A0
split-complementary
#5143E1 #E1A043 #84E143
monochromatic
#221792 #2F20C7 #5143E1 #8278E9 #B3ADF2

Accessibility & contrast

On white

6.48
#5143E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5143E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143E1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143E1#FFFFFF#000000##FFFFFF
##5143E11.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5143e1;
/* rgb */ color: rgb(81, 67, 225);
/* oklch */ color: oklch(50.4% 0.228 278.3);
Tailwind
colors: {
  custom: {
    50: '#9379ec',
    500: '#5143e1',
    950: '#000000',
  },
}
SCSS
$custom: #5143e1;
$custom-light: #9379ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5143e1",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 245.316,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.22796,
    "h": 278.3
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#5143E1
secondary
#DAE0A0
accent
#EF39DF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5143E1

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

Preview Lab → · Contrast checker → · Palette generator →

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