#4E43C0#4E43C0

#4E43C0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.2% C 0.188 H 280.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4E43C0
RGBrgb(78, 67, 192)
HSLhsl(245, 50%, 51%)
HSVhsv(245, 65%, 75%)
CMYKcmyk(59.4%, 65.1%, 0%, 24.7%)
CIE-LABlab(36.82, 40.49, -64.17)
CIE-LCHlch(36.82, 75.88, 302.25°)
OKLaboklab(47.23% 0.0338 -0.1847)
OKLCHoklch(47.23% 0.188 280.4)
XYZxyz(14.6605, 9.4388, 50.9083)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43C0 #B5C043
analogous
#4376C0 #4E43C0 #8C43C0
triadic
#4E43C0 #C04E43 #43C04E
tetradic
#4E43C0 #C04376 #B5C043 #43C08C
square
#4E43C0 #C04376 #B5C043 #43C08C
split-complementary
#4E43C0 #C08C43 #76C043
monochromatic
#282266 #3A3294 #4E43C0 #7971CF #A49FDF

Accessibility & contrast

On white

7.27
#4E43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E43C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43C0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43C0#FFFFFF#000000##FFFFFF
##4E43C01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e43c0;
/* rgb */ color: rgb(78, 67, 192);
/* oklch */ color: oklch(47.2% 0.188 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b78d4',
    500: '#4e43c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e43c0;
$custom-light: #8b78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43c0",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 245.28,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.18776,
    "h": 280.4
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#4E43C0
secondary
#C6CB94
accent
#D94ECD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E43C0

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

Preview Lab → · Contrast checker → · Palette generator →

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