#4A36CA#4A36CA

#4A36CA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.215 H 279.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4A36CA
RGBrgb(74, 54, 202)
HSLhsl(248, 58%, 50%)
HSVhsv(248, 73%, 79%)
CMYKcmyk(63.4%, 73.3%, 0%, 20.8%)
CIE-LABlab(34.72, 50.39, -73.46)
CIE-LCHlch(34.72, 89.09, 304.45°)
OKLaboklab(45.92% 0.0368 -0.212)
OKLCHoklch(45.92% 0.215 279.8)
XYZxyz(14.8005, 8.3573, 56.6988)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A36CA #B6CA36
analogous
#366CCA #4A36CA #9436CA
triadic
#4A36CA #CA4A36 #36CA4A
tetradic
#4A36CA #CA366C #B6CA36 #36CA94
square
#4A36CA #CA366C #B6CA36 #36CA94
split-complementary
#4A36CA #CA9436 #6CCA36
monochromatic
#261C6A #38299A #4A36CA #7666D7 #A197E4

Accessibility & contrast

On white

7.86
#4A36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A36CA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A36CA#FFFFFF#000000##FFFFFF
##4A36CA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a36ca;
/* rgb */ color: rgb(74, 54, 202);
/* oklch */ color: oklch(45.9% 0.215 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c70db',
    500: '#4a36ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a36ca;
$custom-light: #8c70db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a36ca",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 248.108,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.21516,
    "h": 279.8
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4A36CA
secondary
#C6CF8D
accent
#E146CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4A36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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