#4E38D7#4E38D7

#4E38D7 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.7% C 0.228 H 279.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E38D7
RGBrgb(78, 56, 215)
HSLhsl(248, 67%, 53%)
HSVhsv(248, 74%, 84%)
CMYKcmyk(63.7%, 74%, 0%, 15.7%)
CIE-LABlab(36.66, 53.74, -77.79)
CIE-LCHlch(36.66, 94.55, 304.64°)
OKLaboklab(47.74% 0.0381 -0.2245)
OKLCHoklch(47.74% 0.228 279.6)
XYZxyz(16.8179, 9.3530, 65.1959)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38D7 #C1D738
analogous
#3871D7 #4E38D7 #9D38D7
triadic
#4E38D7 #D74E38 #38D74E
tetradic
#4E38D7 #D73871 #C1D738 #38D79D
square
#4E38D7 #D73871 #C1D738 #38D79D
split-complementary
#4E38D7 #D79D38 #71D738
monochromatic
#27197C #3623AF #4E38D7 #7B6BE1 #A99EEB

Accessibility & contrast

On white

7.32
#4E38D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E38D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38D7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38D7#FFFFFF#000000##FFFFFF
##4E38D71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0050D4
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e38d7;
/* rgb */ color: rgb(78, 56, 215);
/* oklch */ color: oklch(47.7% 0.228 279.6);
Tailwind
colors: {
  custom: {
    50: '#9072e5',
    500: '#4e38d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e38d7;
$custom-light: #9072e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38d7",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 215
  },
  "hsl": {
    "h": 248.302,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.22773,
    "h": 279.6
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#4E38D7
secondary
#CED893
accent
#E93ED2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E38D7

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

Preview Lab → · Contrast checker → · Palette generator →

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