#4E42C9#4E42C9

#4E42C9 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.200 H 279.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4E42C9
RGBrgb(78, 66, 201)
HSLhsl(245, 56%, 52%)
HSVhsv(245, 67%, 79%)
CMYKcmyk(61.2%, 67.2%, 0%, 21.2%)
CIE-LABlab(37.36, 43.94, -68.53)
CIE-LCHlch(37.36, 81.41, 302.67°)
OKLaboklab(47.86% 0.0336 -0.1975)
OKLCHoklch(47.86% 0.2 279.6)
XYZxyz(15.6294, 9.7320, 56.3019)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42C9 #BDC942
analogous
#427AC9 #4E42C9 #9142C9
triadic
#4E42C9 #C94E42 #42C94E
tetradic
#4E42C9 #C9427A #BDC942 #42C991
square
#4E42C9 #C9427A #BDC942 #42C991
split-complementary
#4E42C9 #C99142 #7AC942
monochromatic
#272070 #382EA0 #4E42C9 #7B72D7 #A7A1E4

Accessibility & contrast

On white

7.13
#4E42C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E42C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42C9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42C9#FFFFFF#000000##FFFFFF
##4E42C91.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e42c9;
/* rgb */ color: rgb(78, 66, 201);
/* oklch */ color: oklch(47.9% 0.200 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d78da',
    500: '#4e42c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e42c9;
$custom-light: #8d78da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42c9",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 245.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.20033,
    "h": 279.6
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#4E42C9
secondary
#CCD196
accent
#DF49D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E42C9

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

Preview Lab → · Contrast checker → · Palette generator →

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