#4E38C8#4E38C8

#4E38C8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.210 H 281.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4E38C8
RGBrgb(78, 56, 200)
HSLhsl(249, 57%, 50%)
HSVhsv(249, 72%, 78%)
CMYKcmyk(61%, 72%, 0%, 21.6%)
CIE-LABlab(35.24, 49.22, -71.43)
CIE-LCHlch(35.24, 86.75, 304.57°)
OKLaboklab(46.31% 0.0413 -0.206)
OKLCHoklch(46.31% 0.21 281.3)
XYZxyz(14.9781, 8.6171, 55.5064)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38C8 #B2C838
analogous
#386AC8 #4E38C8 #9638C8
triadic
#4E38C8 #C84E38 #38C84E
tetradic
#4E38C8 #C8386A #B2C838 #38C896
square
#4E38C8 #C8386A #B2C838 #38C896
split-complementary
#4E38C8 #C89638 #6AC838
monochromatic
#291D69 #3B2A99 #4E38C8 #7968D5 #A398E3

Accessibility & contrast

On white

7.71
#4E38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38C8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38C8#FFFFFF#000000##FFFFFF
##4E38C81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e38c8;
/* rgb */ color: rgb(78, 56, 200);
/* oklch */ color: oklch(46.3% 0.210 281.3);
Tailwind
colors: {
  custom: {
    50: '#8e71da',
    500: '#4e38c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e38c8;
$custom-light: #8e71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38c8",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 249.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.21006,
    "h": 281.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#4E38C8
secondary
#C4CE8E
accent
#E048C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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