#4E38DC#4E38DC

#4E38DC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.2% C 0.234 H 279.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E38DC
RGBrgb(78, 56, 220)
HSLhsl(248, 70%, 54%)
HSVhsv(248, 75%, 86%)
CMYKcmyk(64.5%, 74.5%, 0%, 13.7%)
CIE-LABlab(37.14, 55.23, -79.86)
CIE-LCHlch(37.14, 97.10, 304.67°)
OKLaboklab(48.23% 0.0369 -0.2306)
OKLCHoklch(48.23% 0.234 279.1)
XYZxyz(17.4702, 9.6139, 68.6313)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38DC #C6DC38
analogous
#3874DC #4E38DC #A038DC
triadic
#4E38DC #DC4E38 #38DC4E
tetradic
#4E38DC #DC3874 #C6DC38 #38DCA0
square
#4E38DC #DC3874 #C6DC38 #38DCA0
split-complementary
#4E38DC #DCA038 #74DC38
monochromatic
#251783 #3420B7 #4E38DC #7C6CE5 #ABA0EE

Accessibility & contrast

On white

7.18
#4E38DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E38DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38DC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38DC#FFFFFF#000000##FFFFFF
##4E38DC1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE1
Deuteranopia (green-blind)
#0051D9
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e38dc;
/* rgb */ color: rgb(78, 56, 220);
/* oklch */ color: oklch(48.2% 0.234 279.1);
Tailwind
colors: {
  custom: {
    50: '#9172e8',
    500: '#4e38dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e38dc;
$custom-light: #9172e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38dc",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 248.049,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.23352,
    "h": 279.1
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#4E38DC
secondary
#D1DB95
accent
#ED3BD5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E38DC

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

Preview Lab → · Contrast checker → · Palette generator →

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