#5143E4#5143E4

#5143E4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.232 H 278.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5143E4
RGBrgb(81, 67, 228)
HSLhsl(245, 75%, 58%)
HSVhsv(245, 71%, 89%)
CMYKcmyk(64.5%, 70.6%, 0%, 10.6%)
CIE-LABlab(40.19, 52.21, -79.41)
CIE-LCHlch(40.19, 95.03, 303.32°)
OKLaboklab(50.68% 0.0325 -0.2292)
OKLCHoklch(50.68% 0.232 278.1)
XYZxyz(19.3996, 11.3635, 74.5548)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5143E4 #D6E443
analogous
#4386E4 #5143E4 #A143E4
triadic
#5143E4 #E45143 #43E451
tetradic
#5143E4 #E44386 #D6E443 #43E4A1
square
#5143E4 #E44386 #D6E443 #43E4A1
split-complementary
#5143E4 #E4A143 #86E443
monochromatic
#211697 #2D1DCC #5143E4 #8379EC #B4AEF3

Accessibility & contrast

On white

6.42
#5143E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5143E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5143E4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5143E4#FFFFFF#000000##FFFFFF
##5143E41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5143e4;
/* rgb */ color: rgb(81, 67, 228);
/* oklch */ color: oklch(50.7% 0.232 278.1);
Tailwind
colors: {
  custom: {
    50: '#9379ee',
    500: '#5143e4',
    950: '#000000',
  },
}
SCSS
$custom: #5143e4;
$custom-light: #9379ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5143e4",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 228
  },
  "hsl": {
    "h": 245.217,
    "s": 74.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.23153,
    "h": 278.1
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#5143E4
secondary
#DCE2A1
accent
#F236E1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #5143E4

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

Preview Lab → · Contrast checker → · Palette generator →

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