#4E43AB#4E43AB

#4E43AB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.160 H 282.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4E43AB
RGBrgb(78, 67, 171)
HSLhsl(246, 44%, 47%)
HSVhsv(246, 61%, 67%)
CMYKcmyk(54.4%, 60.8%, 0%, 32.9%)
CIE-LABlab(35.15, 33.78, -54.47)
CIE-LCHlch(35.15, 64.09, 301.80°)
OKLaboklab(45.49% 0.0354 -0.1562)
OKLCHoklch(45.49% 0.16 282.8)
XYZxyz(12.4975, 8.5736, 39.5165)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43AB #A0AB43
analogous
#436CAB #4E43AB #8243AB
triadic
#4E43AB #AB4E43 #43AB4E
tetradic
#4E43AB #AB436C #A0AB43 #43AB82
square
#4E43AB #AB436C #A0AB43 #43AB82
split-complementary
#4E43AB #AB8243 #6CAB43
monochromatic
#262153 #3A327F #4E43AB #7168C4 #9A94D5

Accessibility & contrast

On white

7.74
#4E43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43AB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43AB#FFFFFF#000000##FFFFFF
##4E43AB1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#255C70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e43ab;
/* rgb */ color: rgb(78, 67, 171);
/* oklch */ color: oklch(45.5% 0.160 282.8);
Tailwind
colors: {
  custom: {
    50: '#8877c5',
    500: '#4e43ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e43ab;
$custom-light: #8877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43ab",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 246.346,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.16016,
    "h": 282.8
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#4E43AB
secondary
#BBC089
accent
#D354C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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