#4E42D9#4E42D9

#4E42D9 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.220 H 278.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4E42D9
RGBrgb(78, 66, 217)
HSLhsl(245, 67%, 55%)
HSVhsv(245, 70%, 85%)
CMYKcmyk(64.1%, 69.6%, 0%, 14.9%)
CIE-LABlab(38.77, 48.98, -75.46)
CIE-LCHlch(38.77, 89.96, 302.99°)
OKLaboklab(49.3% 0.0312 -0.2178)
OKLCHoklch(49.3% 0.22 278.2)
XYZxyz(17.6104, 10.5244, 66.7356)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42D9 #CDD942
analogous
#4281D9 #4E42D9 #9942D9
triadic
#4E42D9 #D94E42 #42D94E
tetradic
#4E42D9 #D94281 #CDD942 #42D999
square
#4E42D9 #D94281 #CDD942 #42D999
split-complementary
#4E42D9 #D99942 #81D942
monochromatic
#231B86 #3125B9 #4E42D9 #7E75E3 #ADA8ED

Accessibility & contrast

On white

6.76
#4E42D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E42D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42D9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42D9#FFFFFF#000000##FFFFFF
##4E42D91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0055D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e42d9;
/* rgb */ color: rgb(78, 66, 217);
/* oklch */ color: oklch(49.3% 0.220 278.2);
Tailwind
colors: {
  custom: {
    50: '#9078e6',
    500: '#4e42d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e42d9;
$custom-light: #9078e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42d9",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 244.768,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.22,
    "h": 278.2
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#4E42D9
secondary
#D6DB9C
accent
#E93EDC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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