#4E43B4#4E43B4

#4E43B4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.172 H 281.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4E43B4
RGBrgb(78, 67, 180)
HSLhsl(246, 46%, 48%)
HSVhsv(246, 63%, 71%)
CMYKcmyk(56.7%, 62.8%, 0%, 29.4%)
CIE-LABlab(35.85, 36.66, -58.69)
CIE-LCHlch(35.85, 69.19, 301.99°)
OKLaboklab(46.22% 0.0349 -0.1686)
OKLCHoklch(46.22% 0.172 281.7)
XYZxyz(13.3847, 8.9284, 44.1892)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43B4 #A9B443
analogous
#4370B4 #4E43B4 #8643B4
triadic
#4E43B4 #B44E43 #43B44E
tetradic
#4E43B4 #B44370 #A9B443 #43B486
square
#4E43B4 #B44370 #A9B443 #43B486
split-complementary
#4E43B4 #B48643 #70B443
monochromatic
#27225B #3B3287 #4E43B4 #756CC8 #9F99D9

Accessibility & contrast

On white

7.54
#4E43B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E43B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43B4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43B4#FFFFFF#000000##FFFFFF
##4E43B41.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#195F75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e43b4;
/* rgb */ color: rgb(78, 67, 180);
/* oklch */ color: oklch(46.2% 0.172 281.7);
Tailwind
colors: {
  custom: {
    50: '#8978cb',
    500: '#4e43b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e43b4;
$custom-light: #8978cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43b4",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 245.841,
    "s": 45.749,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.17216,
    "h": 281.7
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#4E43B4
secondary
#BFC58E
accent
#D552C9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E43B4

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

Preview Lab → · Contrast checker → · Palette generator →

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