#4E36C8#4E36C8

#4E36C8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.212 H 281.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E36C8
RGBrgb(78, 54, 200)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61%, 73%, 0%, 21.6%)
CIE-LABlab(34.86, 50.29, -72.05)
CIE-LCHlch(34.86, 87.87, 304.91°)
OKLaboklab(46.04% 0.0427 -0.2078)
OKLCHoklch(46.04% 0.212 281.6)
XYZxyz(14.8831, 8.4271, 55.4747)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36C8 #B0C836
analogous
#3667C8 #4E36C8 #9736C8
triadic
#4E36C8 #C84E36 #36C84E
tetradic
#4E36C8 #C83667 #B0C836 #36C897
square
#4E36C8 #C83667 #B0C836 #36C897
split-complementary
#4E36C8 #C89736 #67C836
monochromatic
#281C68 #3B2998 #4E36C8 #7866D6 #A296E3

Accessibility & contrast

On white

7.82
#4E36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36C8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36C8#FFFFFF#000000##FFFFFF
##4E36C81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e36c8;
/* rgb */ color: rgb(78, 54, 200);
/* oklch */ color: oklch(46.0% 0.212 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e70da',
    500: '#4e36c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e36c8;
$custom-light: #8e70da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36c8",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 249.863,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.21211,
    "h": 281.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#4E36C8
secondary
#C3CE8C
accent
#E147C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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