#4E43C5#4E43C5

#4E43C5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.194 H 279.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E43C5
RGBrgb(78, 67, 197)
HSLhsl(245, 53%, 52%)
HSVhsv(245, 66%, 77%)
CMYKcmyk(60.4%, 66%, 0%, 22.7%)
CIE-LABlab(37.23, 42.09, -66.41)
CIE-LCHlch(37.23, 78.62, 302.37°)
OKLaboklab(47.66% 0.0333 -0.1913)
OKLCHoklch(47.66% 0.194 279.9)
XYZxyz(15.2239, 9.6641, 53.8756)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43C5 #BAC543
analogous
#4379C5 #4E43C5 #8F43C5
triadic
#4E43C5 #C54E43 #43C54E
tetradic
#4E43C5 #C54379 #BAC543 #43C58F
square
#4E43C5 #C54379 #BAC543 #43C58F
split-complementary
#4E43C5 #C58F43 #79C543
monochromatic
#28216C #39309B #4E43C5 #7A72D3 #A6A1E2

Accessibility & contrast

On white

7.16
#4E43C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E43C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43C5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43C5#FFFFFF#000000##FFFFFF
##4E43C51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e43c5;
/* rgb */ color: rgb(78, 67, 197);
/* oklch */ color: oklch(47.7% 0.194 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c78d8',
    500: '#4e43c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e43c5;
$custom-light: #8c78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43c5",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 245.077,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.19414,
    "h": 279.9
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#4E43C5
secondary
#CACE95
accent
#DC4CD0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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