#4E42DA#4E42DA

#4E42DA is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.221 H 278.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E42DA
RGBrgb(78, 66, 218)
HSLhsl(245, 67%, 56%)
HSVhsv(245, 70%, 85%)
CMYKcmyk(64.2%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.86, 49.29, -75.89)
CIE-LCHlch(38.86, 90.49, 303.01°)
OKLaboklab(49.4% 0.0311 -0.219)
OKLCHoklch(49.4% 0.221 278.1)
XYZxyz(17.7409, 10.5766, 67.4227)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42DA #CEDA42
analogous
#4282DA #4E42DA #9A42DA
triadic
#4E42DA #DA4E42 #42DA4E
tetradic
#4E42DA #DA4282 #CEDA42 #42DA9A
square
#4E42DA #DA4282 #CEDA42 #42DA9A
split-complementary
#4E42DA #DA9A42 #82DA42
monochromatic
#231A87 #3024BA #4E42DA #7E75E4 #AEA8EE

Accessibility & contrast

On white

6.74
#4E42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E42DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42DA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42DA#FFFFFF#000000##FFFFFF
##4E42DA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e42da;
/* rgb */ color: rgb(78, 66, 218);
/* oklch */ color: oklch(49.4% 0.221 278.1);
Tailwind
colors: {
  custom: {
    50: '#9078e7',
    500: '#4e42da',
    950: '#000000',
  },
}
SCSS
$custom: #4e42da;
$custom-light: #9078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42da",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 244.737,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.22122,
    "h": 278.1
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#4E42DA
secondary
#D7DB9C
accent
#EA3EDD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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