#4D36C6#4D36C6

#4D36C6 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.210 H 281.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4D36C6
RGBrgb(77, 54, 198)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61.1%, 72.7%, 0%, 22.4%)
CIE-LABlab(34.58, 49.56, -71.34)
CIE-LCHlch(34.58, 86.86, 304.79°)
OKLaboklab(45.77% 0.0417 -0.2057)
OKLCHoklch(45.77% 0.21 281.5)
XYZxyz(14.5696, 8.2923, 54.2479)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36C6 #AFC636
analogous
#3667C6 #4D36C6 #9536C6
triadic
#4D36C6 #C64D36 #36C64D
tetradic
#4D36C6 #C63667 #AFC636 #36C695
square
#4D36C6 #C63667 #AFC636 #36C695
split-complementary
#4D36C6 #C69536 #67C636
monochromatic
#281C66 #3A2996 #4D36C6 #7664D5 #A194E2

Accessibility & contrast

On white

7.90
#4D36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36C6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36C6#FFFFFF#000000##FFFFFF
##4D36C61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d36c6;
/* rgb */ color: rgb(77, 54, 198);
/* oklch */ color: oklch(45.8% 0.210 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d70d9',
    500: '#4d36c6',
    950: '#000000',
  },
}
SCSS
$custom: #4d36c6;
$custom-light: #8d70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36c6",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 249.583,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.2099,
    "h": 281.5
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#4D36C6
secondary
#C3CD8B
accent
#E047C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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