#4E42AD#4E42AD

#4E42AD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.164 H 282.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E42AD
RGBrgb(78, 66, 173)
HSLhsl(247, 45%, 47%)
HSVhsv(247, 62%, 68%)
CMYKcmyk(54.9%, 61.8%, 0%, 32.2%)
CIE-LABlab(35.07, 35.03, -55.80)
CIE-LCHlch(35.07, 65.88, 302.12°)
OKLaboklab(45.48% 0.0363 -0.1601)
OKLCHoklch(45.48% 0.164 282.8)
XYZxyz(12.6306, 8.5325, 40.5084)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42AD #A1AD42
analogous
#426CAD #4E42AD #8442AD
triadic
#4E42AD #AD4E42 #42AD4E
tetradic
#4E42AD #AD426C #A1AD42 #42AD84
square
#4E42AD #AD426C #A1AD42 #42AD84
split-complementary
#4E42AD #AD8442 #6CAD42
monochromatic
#262054 #3A3181 #4E42AD #7267C5 #9B93D6

Accessibility & contrast

On white

7.76
#4E42AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E42AD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42AD#FFFFFF#000000##FFFFFF
##4E42AD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#235C71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e42ad;
/* rgb */ color: rgb(78, 66, 173);
/* oklch */ color: oklch(45.5% 0.164 282.8);
Tailwind
colors: {
  custom: {
    50: '#8877c6',
    500: '#4e42ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e42ad;
$custom-light: #8877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42ad",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 246.729,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.16417,
    "h": 282.8
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#4E42AD
secondary
#BBC189
accent
#D453C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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