#4E43A5#4E43A5

#4E43A5 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.152 H 283.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E43A5
RGBrgb(78, 67, 165)
HSLhsl(247, 42%, 45%)
HSVhsv(247, 59%, 65%)
CMYKcmyk(52.7%, 59.4%, 0%, 35.3%)
CIE-LABlab(34.70, 31.86, -51.61)
CIE-LCHlch(34.70, 60.65, 301.69°)
OKLaboklab(45.02% 0.0356 -0.1478)
OKLCHoklch(45.02% 0.152 283.5)
XYZxyz(11.9385, 8.3500, 36.5726)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A5 #9AA543
analogous
#4369A5 #4E43A5 #7F43A5
triadic
#4E43A5 #A54E43 #43A54E
tetradic
#4E43A5 #A54369 #9AA543 #43A57F
square
#4E43A5 #A54369 #9AA543 #43A57F
split-complementary
#4E43A5 #A57F43 #69A543
monochromatic
#25204E #393179 #4E43A5 #6F65C0 #9890D2

Accessibility & contrast

On white

7.86
#4E43A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E43A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A5#FFFFFF#000000##FFFFFF
##4E43A51.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#2B5A6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e43a5;
/* rgb */ color: rgb(78, 67, 165);
/* oklch */ color: oklch(45.0% 0.152 283.5);
Tailwind
colors: {
  custom: {
    50: '#8777c0',
    500: '#4e43a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a5;
$custom-light: #8777c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a5",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 246.735,
    "s": 42.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.15201,
    "h": 283.5
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#4E43A5
secondary
#B7BD86
accent
#D256C4
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E43A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4E43A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva