#4E38CF#4E38CF

#4E38CF is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.218 H 280.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4E38CF
RGBrgb(78, 56, 207)
HSLhsl(249, 61%, 52%)
HSVhsv(249, 73%, 81%)
CMYKcmyk(62.3%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.89, 51.34, -74.42)
CIE-LCHlch(35.89, 90.41, 304.60°)
OKLaboklab(46.97% 0.0398 -0.2147)
OKLCHoklch(46.97% 0.218 280.5)
XYZxyz(15.8150, 8.9518, 59.9139)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38CF #B9CF38
analogous
#386ECF #4E38CF #9A38CF
triadic
#4E38CF #CF4E38 #38CF4E
tetradic
#4E38CF #CF386E #B9CF38 #38CF9A
square
#4E38CF #CF386E #B9CF38 #38CF9A
split-complementary
#4E38CF #CF9A38 #6ECF38
monochromatic
#281B71 #3927A3 #4E38CF #7A69DB #A69BE7

Accessibility & contrast

On white

7.53
#4E38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38CF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38CF#FFFFFF#000000##FFFFFF
##4E38CF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e38cf;
/* rgb */ color: rgb(78, 56, 207);
/* oklch */ color: oklch(47.0% 0.218 280.5);
Tailwind
colors: {
  custom: {
    50: '#8f71df',
    500: '#4e38cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e38cf;
$custom-light: #8f71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38cf",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 248.742,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46974,
    "c": 0.21837,
    "h": 280.5
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#4E38CF
secondary
#C9D390
accent
#E444CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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