#4E43B5#4E43B5

#4E43B5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.173 H 281.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E43B5
RGBrgb(78, 67, 181)
HSLhsl(246, 46%, 49%)
HSVhsv(246, 63%, 71%)
CMYKcmyk(56.9%, 63%, 0%, 29%)
CIE-LABlab(35.93, 36.98, -59.15)
CIE-LCHlch(35.93, 69.76, 302.01°)
OKLaboklab(46.31% 0.0348 -0.1699)
OKLCHoklch(46.31% 0.173 281.6)
XYZxyz(13.4869, 8.9693, 44.7277)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43B5 #AAB543
analogous
#4371B5 #4E43B5 #8743B5
triadic
#4E43B5 #B54E43 #43B54E
tetradic
#4E43B5 #B54371 #AAB543 #43B587
square
#4E43B5 #B54371 #AAB543 #43B587
split-complementary
#4E43B5 #B58743 #71B543
monochromatic
#28225C #3B3288 #4E43B5 #756CC9 #9F99D9

Accessibility & contrast

On white

7.52
#4E43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E43B5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43B5#FFFFFF#000000##FFFFFF
##4E43B51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#175F76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e43b5;
/* rgb */ color: rgb(78, 67, 181);
/* oklch */ color: oklch(46.3% 0.173 281.6);
Tailwind
colors: {
  custom: {
    50: '#8978cc',
    500: '#4e43b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e43b5;
$custom-light: #8978cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43b5",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 245.789,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.17347,
    "h": 281.6
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#4E43B5
secondary
#C0C58F
accent
#D652C9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E43B5

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

Preview Lab → · Contrast checker → · Palette generator →

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