#4E42AE#4E42AE

#4E42AE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.166 H 282.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4E42AE
RGBrgb(78, 66, 174)
HSLhsl(247, 45%, 47%)
HSVhsv(247, 62%, 68%)
CMYKcmyk(55.2%, 62.1%, 0%, 31.8%)
CIE-LABlab(35.15, 35.35, -56.26)
CIE-LCHlch(35.15, 66.45, 302.14°)
OKLaboklab(45.56% 0.0363 -0.1615)
OKLCHoklch(45.56% 0.166 282.7)
XYZxyz(12.7277, 8.5714, 41.0200)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42AE #A2AE42
analogous
#426CAE #4E42AE #8442AE
triadic
#4E42AE #AE4E42 #42AE4E
tetradic
#4E42AE #AE426C #A2AE42 #42AE84
square
#4E42AE #AE426C #A2AE42 #42AE84
split-complementary
#4E42AE #AE8442 #6CAE42
monochromatic
#262055 #3A3182 #4E42AE #7268C6 #9B94D6

Accessibility & contrast

On white

7.74
#4E42AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E42AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42AE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42AE#FFFFFF#000000##FFFFFF
##4E42AE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#225C71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e42ae;
/* rgb */ color: rgb(78, 66, 174);
/* oklch */ color: oklch(45.6% 0.166 282.7);
Tailwind
colors: {
  custom: {
    50: '#8877c7',
    500: '#4e42ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e42ae;
$custom-light: #8877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42ae",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 246.667,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.1655,
    "h": 282.7
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#4E42AE
secondary
#BCC28A
accent
#D553C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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