#4E43C4#4E43C4

#4E43C4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.6% C 0.193 H 280.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E43C4
RGBrgb(78, 67, 196)
HSLhsl(245, 52%, 52%)
HSVhsv(245, 66%, 77%)
CMYKcmyk(60.2%, 65.8%, 0%, 23.1%)
CIE-LABlab(37.15, 41.77, -65.96)
CIE-LCHlch(37.15, 78.07, 302.34°)
OKLaboklab(47.58% 0.0334 -0.19)
OKLCHoklch(47.58% 0.193 280)
XYZxyz(15.1097, 9.6184, 53.2742)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43C4 #B9C443
analogous
#4379C4 #4E43C4 #8F43C4
triadic
#4E43C4 #C44E43 #43C44E
tetradic
#4E43C4 #C44379 #B9C443 #43C48F
square
#4E43C4 #C44379 #B9C443 #43C48F
split-complementary
#4E43C4 #C48F43 #79C443
monochromatic
#28226B #39309A #4E43C4 #7A72D3 #A6A0E1

Accessibility & contrast

On white

7.18
#4E43C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E43C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43C4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43C4#FFFFFF#000000##FFFFFF
##4E43C41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e43c4;
/* rgb */ color: rgb(78, 67, 196);
/* oklch */ color: oklch(47.6% 0.193 280.0);
Tailwind
colors: {
  custom: {
    50: '#8c78d7',
    500: '#4e43c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e43c4;
$custom-light: #8c78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43c4",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 245.116,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.19287,
    "h": 280
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#4E43C4
secondary
#C9CE95
accent
#DC4CCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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