#4D36C5#4D36C5

#4D36C5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.209 H 281.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4D36C5
RGBrgb(77, 54, 197)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 73%, 77%)
CMYKcmyk(60.9%, 72.6%, 0%, 22.7%)
CIE-LABlab(34.49, 49.25, -70.91)
CIE-LCHlch(34.49, 86.33, 304.79°)
OKLaboklab(45.68% 0.0419 -0.2044)
OKLCHoklch(45.68% 0.209 281.6)
XYZxyz(14.4546, 8.2463, 53.6425)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36C5 #AEC536
analogous
#3667C5 #4D36C5 #9536C5
triadic
#4D36C5 #C54D36 #36C54D
tetradic
#4D36C5 #C53667 #AEC536 #36C595
square
#4D36C5 #C53667 #AEC536 #36C595
split-complementary
#4D36C5 #C59536 #67C536
monochromatic
#271C65 #3A2995 #4D36C5 #7664D4 #A094E2

Accessibility & contrast

On white

7.93
#4D36C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D36C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36C5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36C5#FFFFFF#000000##FFFFFF
##4D36C51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d36c5;
/* rgb */ color: rgb(77, 54, 197);
/* oklch */ color: oklch(45.7% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d70d8',
    500: '#4d36c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d36c5;
$custom-light: #8d70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36c5",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 249.65,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.20871,
    "h": 281.6
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#4D36C5
secondary
#C2CD8A
accent
#E048C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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