#4C36BB#4C36BB

#4C36BB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.7% C 0.197 H 282.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C36BB
RGBrgb(76, 54, 187)
HSLhsl(250, 55%, 47%)
HSVhsv(250, 71%, 73%)
CMYKcmyk(59.4%, 71.1%, 0%, 26.7%)
CIE-LABlab(33.48, 46.08, -66.69)
CIE-LCHlch(33.48, 81.06, 304.64°)
OKLaboklab(44.66% 0.0426 -0.1921)
OKLCHoklch(44.66% 0.197 282.5)
XYZxyz(13.2665, 7.7618, 47.8032)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C36BB #A5BB36
analogous
#3662BB #4C36BB #8F36BB
triadic
#4C36BB #BB4C36 #36BB4C
tetradic
#4C36BB #BB3662 #A5BB36 #36BB8F
square
#4C36BB #BB3662 #A5BB36 #36BB8F
split-complementary
#4C36BB #BB8F36 #62BB36
monochromatic
#251B5C #39288C #4C36BB #715ED0 #9B8DDE

Accessibility & contrast

On white

8.23
#4C36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C36BB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C36BB#FFFFFF#000000##FFFFFF
##4C36BB1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c36bb;
/* rgb */ color: rgb(76, 54, 187);
/* oklch */ color: oklch(44.7% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a6fd1',
    500: '#4c36bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c36bb;
$custom-light: #8a6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c36bb",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 249.925,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.19681,
    "h": 282.5
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#4C36BB
secondary
#BDC984
accent
#DF49C6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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