#4E43B2#4E43B2

#4E43B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.170 H 281.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E43B2
RGBrgb(78, 67, 178)
HSLhsl(246, 45%, 48%)
HSVhsv(246, 62%, 70%)
CMYKcmyk(56.2%, 62.4%, 0%, 30.2%)
CIE-LABlab(35.69, 36.02, -57.76)
CIE-LCHlch(35.69, 68.07, 301.95°)
OKLaboklab(46.06% 0.035 -0.1659)
OKLCHoklch(46.06% 0.17 281.9)
XYZxyz(13.1824, 8.8475, 43.1240)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43B2 #A7B243
analogous
#436FB2 #4E43B2 #8543B2
triadic
#4E43B2 #B24E43 #43B24E
tetradic
#4E43B2 #B2436F #A7B243 #43B285
square
#4E43B2 #B2436F #A7B243 #43B285
split-complementary
#4E43B2 #B28543 #6FB243
monochromatic
#272259 #3B3286 #4E43B2 #746BC7 #9E97D8

Accessibility & contrast

On white

7.58
#4E43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43B2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43B2#FFFFFF#000000##FFFFFF
##4E43B21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#1C5E74
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e43b2;
/* rgb */ color: rgb(78, 67, 178);
/* oklch */ color: oklch(46.1% 0.170 281.9);
Tailwind
colors: {
  custom: {
    50: '#8978ca',
    500: '#4e43b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e43b2;
$custom-light: #8978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43b2",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 245.946,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.16951,
    "h": 281.9
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#4E43B2
secondary
#BEC48D
accent
#D553C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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