#4E42D5#4E42D5

#4E42D5 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.215 H 278.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4E42D5
RGBrgb(78, 66, 213)
HSLhsl(245, 64%, 55%)
HSVhsv(245, 69%, 84%)
CMYKcmyk(63.4%, 69%, 0%, 16.5%)
CIE-LABlab(38.41, 47.72, -73.75)
CIE-LCHlch(38.41, 87.85, 302.91°)
OKLaboklab(48.94% 0.0318 -0.2128)
OKLCHoklch(48.94% 0.215 278.5)
XYZxyz(17.0965, 10.3189, 64.0287)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42D5 #C9D542
analogous
#4280D5 #4E42D5 #9842D5
triadic
#4E42D5 #D54E42 #42D54E
tetradic
#4E42D5 #D54280 #C9D542 #42D598
square
#4E42D5 #D54280 #C9D542 #42D598
split-complementary
#4E42D5 #D59842 #80D542
monochromatic
#251C80 #3328B2 #4E42D5 #7D74E0 #ACA6EB

Accessibility & contrast

On white

6.85
#4E42D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E42D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42D5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42D5#FFFFFF#000000##FFFFFF
##4E42D51.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e42d5;
/* rgb */ color: rgb(78, 66, 213);
/* oklch */ color: oklch(48.9% 0.215 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f78e3',
    500: '#4e42d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e42d5;
$custom-light: #8f78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42d5",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 244.898,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48936,
    "c": 0.21515,
    "h": 278.5
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#4E42D5
secondary
#D3D89A
accent
#E741D9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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