#4E43C2#4E43C2

#4E43C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.4% C 0.190 H 280.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4E43C2
RGBrgb(78, 67, 194)
HSLhsl(245, 51%, 51%)
HSVhsv(245, 65%, 76%)
CMYKcmyk(59.8%, 65.5%, 0%, 23.9%)
CIE-LABlab(36.98, 41.13, -65.07)
CIE-LCHlch(36.98, 76.98, 302.30°)
OKLaboklab(47.4% 0.0336 -0.1873)
OKLCHoklch(47.4% 0.19 280.2)
XYZxyz(14.8836, 9.5280, 52.0833)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43C2 #B7C243
analogous
#4377C2 #4E43C2 #8D43C2
triadic
#4E43C2 #C24E43 #43C24E
tetradic
#4E43C2 #C24377 #B7C243 #43C28D
square
#4E43C2 #C24377 #B7C243 #43C28D
split-complementary
#4E43C2 #C28D43 #77C243
monochromatic
#282269 #3A3197 #4E43C2 #7A71D1 #A59FE0

Accessibility & contrast

On white

7.23
#4E43C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E43C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43C2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43C2#FFFFFF#000000##FFFFFF
##4E43C21.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e43c2;
/* rgb */ color: rgb(78, 67, 194);
/* oklch */ color: oklch(47.4% 0.190 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c78d5',
    500: '#4e43c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e43c2;
$custom-light: #8c78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43c2",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 245.197,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.19032,
    "h": 280.2
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#4E43C2
secondary
#C8CC94
accent
#DA4DCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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