#4C36C5#4C36C5

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

Color values

HEX#4C36C5
RGBrgb(76, 54, 197)
HSLhsl(249, 57%, 49%)
HSVhsv(249, 73%, 77%)
CMYKcmyk(61.4%, 72.6%, 0%, 22.7%)
CIE-LABlab(34.41, 49.12, -71.05)
CIE-LCHlch(34.41, 86.38, 304.66°)
OKLaboklab(45.6% 0.0406 -0.2049)
OKLCHoklch(45.6% 0.209 281.2)
XYZxyz(14.3745, 8.2050, 53.6387)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C36C5 #AFC536
analogous
#3668C5 #4C36C5 #9436C5
triadic
#4C36C5 #C54C36 #36C54C
tetradic
#4C36C5 #C53668 #AFC536 #36C594
square
#4C36C5 #C53668 #AFC536 #36C594
split-complementary
#4C36C5 #C59436 #68C536
monochromatic
#271C65 #392995 #4C36C5 #7564D4 #A094E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C36C5#FFFFFF#000000##FFFFFF
##4C36C51.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)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c36c5;
/* rgb */ color: rgb(76, 54, 197);
/* oklch */ color: oklch(45.6% 0.209 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c70d8',
    500: '#4c36c5',
    950: '#000000',
  },
}
SCSS
$custom: #4c36c5;
$custom-light: #8c70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c36c5",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 249.231,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.20887,
    "h": 281.2
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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