#4E39D2#4E39D2

#4E39D2 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.4% C 0.221 H 280.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4E39D2
RGBrgb(78, 57, 210)
HSLhsl(248, 63%, 52%)
HSVhsv(248, 73%, 82%)
CMYKcmyk(62.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(36.36, 51.72, -75.38)
CIE-LCHlch(36.36, 91.42, 304.45°)
OKLaboklab(47.39% 0.0385 -0.2175)
OKLCHoklch(47.39% 0.221 280)
XYZxyz(16.2342, 9.1978, 61.8801)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39D2 #BDD239
analogous
#3971D2 #4E39D2 #9A39D2
triadic
#4E39D2 #D24E39 #39D24E
tetradic
#4E39D2 #D23971 #BDD239 #39D29A
square
#4E39D2 #D23971 #BDD239 #39D29A
split-complementary
#4E39D2 #D29A39 #71D239
monochromatic
#271B76 #3826A8 #4E39D2 #7B6BDD #A79DE9

Accessibility & contrast

On white

7.39
#4E39D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E39D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39D2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39D2#FFFFFF#000000##FFFFFF
##4E39D21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0050CF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e39d2;
/* rgb */ color: rgb(78, 57, 210);
/* oklch */ color: oklch(47.4% 0.221 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f72e1',
    500: '#4e39d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e39d2;
$custom-light: #8f72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39d2",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 248.235,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.22091,
    "h": 280
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#4E39D2
secondary
#CCD592
accent
#E642CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4E39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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