#4E43A6#4E43A6

#4E43A6 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.153 H 283.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E43A6
RGBrgb(78, 67, 166)
HSLhsl(247, 42%, 46%)
HSVhsv(247, 60%, 65%)
CMYKcmyk(53%, 59.6%, 0%, 34.9%)
CIE-LABlab(34.78, 32.18, -52.09)
CIE-LCHlch(34.78, 61.23, 301.71°)
OKLaboklab(45.1% 0.0356 -0.1492)
OKLCHoklch(45.1% 0.153 283.4)
XYZxyz(12.0299, 8.3865, 37.0539)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A6 #9BA643
analogous
#4369A6 #4E43A6 #7F43A6
triadic
#4E43A6 #A64E43 #43A64E
tetradic
#4E43A6 #A64369 #9BA643 #43A67F
square
#4E43A6 #A64369 #9BA643 #43A67F
split-complementary
#4E43A6 #A67F43 #69A643
monochromatic
#25204F #3A317A #4E43A6 #6F65C1 #9891D3

Accessibility & contrast

On white

7.84
#4E43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E43A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A6#FFFFFF#000000##FFFFFF
##4E43A61.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#2A5A6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e43a6;
/* rgb */ color: rgb(78, 67, 166);
/* oklch */ color: oklch(45.1% 0.153 283.4);
Tailwind
colors: {
  custom: {
    50: '#8777c1',
    500: '#4e43a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a6;
$custom-light: #8777c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a6",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 246.667,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.451,
    "c": 0.15338,
    "h": 283.4
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#4E43A6
secondary
#B8BE87
accent
#D256C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E43A6

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

Preview Lab → · Contrast checker → · Palette generator →

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