#4E42C0#4E42C0

#4E42C0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.1% C 0.189 H 280.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E42C0
RGBrgb(78, 66, 192)
HSLhsl(246, 50%, 51%)
HSVhsv(246, 66%, 75%)
CMYKcmyk(59.4%, 65.6%, 0%, 24.7%)
CIE-LABlab(36.59, 41.08, -64.53)
CIE-LCHlch(36.59, 76.50, 302.48°)
OKLaboklab(47.07% 0.0347 -0.1857)
OKLCHoklch(47.07% 0.189 280.6)
XYZxyz(14.6015, 9.3209, 50.8886)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42C0 #B4C042
analogous
#4275C0 #4E42C0 #8D42C0
triadic
#4E42C0 #C04E42 #42C04E
tetradic
#4E42C0 #C04275 #B4C042 #42C08D
square
#4E42C0 #C04275 #B4C042 #42C08D
split-complementary
#4E42C0 #C08D42 #75C042
monochromatic
#282266 #3B3194 #4E42C0 #7970CF #A49EDF

Accessibility & contrast

On white

7.33
#4E42C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E42C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42C0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42C0#FFFFFF#000000##FFFFFF
##4E42C01.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e42c0;
/* rgb */ color: rgb(78, 66, 192);
/* oklch */ color: oklch(47.1% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#8b77d4',
    500: '#4e42c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e42c0;
$custom-light: #8b77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42c0",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 245.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.18896,
    "h": 280.6
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#4E42C0
secondary
#C6CB93
accent
#DA4ECC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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