#4D36C7#4D36C7

#4D36C7 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.211 H 281.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4D36C7
RGBrgb(77, 54, 199)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61.3%, 72.9%, 0%, 22%)
CIE-LABlab(34.68, 49.86, -71.77)
CIE-LCHlch(34.68, 87.39, 304.79°)
OKLaboklab(45.87% 0.0415 -0.207)
OKLCHoklch(45.87% 0.211 281.3)
XYZxyz(14.6853, 8.3386, 54.8574)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36C7 #B0C736
analogous
#3668C7 #4D36C7 #9536C7
triadic
#4D36C7 #C74D36 #36C74D
tetradic
#4D36C7 #C73668 #B0C736 #36C795
square
#4D36C7 #C73668 #B0C736 #36C795
split-complementary
#4D36C7 #C79536 #68C736
monochromatic
#281C67 #3A2997 #4D36C7 #7765D5 #A195E2

Accessibility & contrast

On white

7.87
#4D36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D36C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36C7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36C7#FFFFFF#000000##FFFFFF
##4D36C71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d36c7;
/* rgb */ color: rgb(77, 54, 199);
/* oklch */ color: oklch(45.9% 0.211 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d70d9',
    500: '#4d36c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d36c7;
$custom-light: #8d70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36c7",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 249.517,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.21108,
    "h": 281.3
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#4D36C7
secondary
#C3CE8B
accent
#E147C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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