#4E42ED#4E42ED

#4E42ED is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.2% C 0.244 H 276.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E42ED
RGBrgb(78, 66, 237)
HSLhsl(244, 83%, 59%)
HSVhsv(244, 72%, 93%)
CMYKcmyk(67.1%, 72.2%, 0%, 7.1%)
CIE-LABlab(40.62, 55.17, -83.80)
CIE-LCHlch(40.62, 100.34, 303.36°)
OKLaboklab(51.18% 0.0277 -0.2421)
OKLCHoklch(51.18% 0.244 276.5)
XYZxyz(20.3712, 11.6287, 81.2754)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42ED #E1ED42
analogous
#428BED #4E42ED #A442ED
triadic
#4E42ED #ED4E42 #42ED4E
tetradic
#4E42ED #ED428B #E1ED42 #42EDA4
square
#4E42ED #ED428B #E1ED42 #42EDA4
split-complementary
#4E42ED #EDA442 #8BED42
monochromatic
#1A10A5 #2315DD #4E42ED #827AF2 #B7B2F8

Accessibility & contrast

On white

6.31
#4E42ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E42ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42ED
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42ED#FFFFFF#000000##FFFFFF
##4E42ED1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F2
Deuteranopia (green-blind)
#0058EA
Tritanopia (blue-blind)
#007294
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e42ed;
/* rgb */ color: rgb(78, 66, 237);
/* oklch */ color: oklch(51.2% 0.244 276.5);
Tailwind
colors: {
  custom: {
    50: '#9479f4',
    500: '#4e42ed',
    950: '#000000',
  },
}
SCSS
$custom: #4e42ed;
$custom-light: #9479f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42ed",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 237
  },
  "hsl": {
    "h": 244.211,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.24373,
    "h": 276.5
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#4E42ED
secondary
#E2E7A4
accent
#F92FEB
background
#FAF7FF
surface
#F3EDFF
border
#CDC8D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4E42ED

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

Preview Lab → · Contrast checker → · Palette generator →

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