#4E38CD#4E38CD

#4E38CD is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.216 H 280.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E38CD
RGBrgb(78, 56, 205)
HSLhsl(249, 60%, 51%)
HSVhsv(249, 73%, 80%)
CMYKcmyk(62%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.70, 50.74, -73.57)
CIE-LCHlch(35.70, 89.37, 304.59°)
OKLaboklab(46.78% 0.0402 -0.2122)
OKLCHoklch(46.78% 0.216 280.7)
XYZxyz(15.5720, 8.8547, 58.6343)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38CD #B7CD38
analogous
#386CCD #4E38CD #9838CD
triadic
#4E38CD #CD4E38 #38CD4E
tetradic
#4E38CD #CD386C #B7CD38 #38CD98
square
#4E38CD #CD386C #B7CD38 #38CD98
split-complementary
#4E38CD #CD9838 #6CCD38
monochromatic
#281C6F #3A28A0 #4E38CD #7A69D9 #A59AE6

Accessibility & contrast

On white

7.58
#4E38CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E38CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38CD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38CD#FFFFFF#000000##FFFFFF
##4E38CD1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004ECA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e38cd;
/* rgb */ color: rgb(78, 56, 205);
/* oklch */ color: oklch(46.8% 0.216 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e71de',
    500: '#4e38cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e38cd;
$custom-light: #8e71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38cd",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 248.859,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.216,
    "h": 280.7
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#4E38CD
secondary
#C8D18F
accent
#E345CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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