#4D36C4#4D36C4

#4D36C4 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.208 H 281.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4D36C4
RGBrgb(77, 54, 196)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 72%, 77%)
CMYKcmyk(60.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(34.40, 48.95, -70.48)
CIE-LCHlch(34.40, 85.81, 304.78°)
OKLaboklab(45.58% 0.0422 -0.2032)
OKLCHoklch(45.58% 0.208 281.7)
XYZxyz(14.3404, 8.2006, 53.0410)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36C4 #ADC436
analogous
#3666C4 #4D36C4 #9436C4
triadic
#4D36C4 #C44D36 #36C44D
tetradic
#4D36C4 #C43666 #ADC436 #36C494
square
#4D36C4 #C43666 #ADC436 #36C494
split-complementary
#4D36C4 #C49436 #66C436
monochromatic
#271C64 #3A2994 #4D36C4 #7563D4 #A093E1

Accessibility & contrast

On white

7.95
#4D36C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D36C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36C4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36C4#FFFFFF#000000##FFFFFF
##4D36C41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d36c4;
/* rgb */ color: rgb(77, 54, 196);
/* oklch */ color: oklch(45.6% 0.208 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c70d7',
    500: '#4d36c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d36c4;
$custom-light: #8c70d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36c4",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 249.718,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45582,
    "c": 0.20752,
    "h": 281.7
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#4D36C4
secondary
#C2CC89
accent
#E048C7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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