#4A36B2#4A36B2

#4A36B2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.7% C 0.186 H 282.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4A36B2
RGBrgb(74, 54, 178)
HSLhsl(250, 53%, 45%)
HSVhsv(250, 70%, 70%)
CMYKcmyk(58.4%, 69.7%, 0%, 30.2%)
CIE-LABlab(32.50, 43.02, -62.98)
CIE-LCHlch(32.50, 76.27, 304.33°)
OKLaboklab(43.66% 0.0414 -0.1813)
OKLCHoklch(43.66% 0.186 282.9)
XYZxyz(12.1766, 7.3077, 42.8797)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A36B2 #9EB236
analogous
#3660B2 #4A36B2 #8836B2
triadic
#4A36B2 #B24A36 #36B24A
tetradic
#4A36B2 #B23660 #9EB236 #36B288
square
#4A36B2 #B23660 #9EB236 #36B288
split-complementary
#4A36B2 #B28836 #60B236
monochromatic
#231A54 #362883 #4A36B2 #6B59CD #9588DB

Accessibility & contrast

On white

8.53
#4A36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4A36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A36B2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A36B2#FFFFFF#000000##FFFFFF
##4A36B21.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#0C5770
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a36b2;
/* rgb */ color: rgb(74, 54, 178);
/* oklch */ color: oklch(43.7% 0.186 282.9);
Tailwind
colors: {
  custom: {
    50: '#886fca',
    500: '#4a36b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a36b2;
$custom-light: #886fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a36b2",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 249.677,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.18601,
    "h": 282.9
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#4A36B2
secondary
#B9C57F
accent
#DD4BC5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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