#3A36C4#3A36C4

#3A36C4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.211 H 274.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3A36C4
RGBrgb(58, 54, 196)
HSLhsl(242, 57%, 49%)
HSVhsv(242, 72%, 77%)
CMYKcmyk(70.4%, 72.4%, 0%, 23.1%)
CIE-LABlab(32.97, 46.71, -72.88)
CIE-LCHlch(32.97, 86.57, 302.66°)
OKLaboklab(44.2% 0.0172 -0.2107)
OKLCHoklch(44.2% 0.211 274.7)
XYZxyz(13.0246, 7.5221, 52.9794)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36C4 #C0C436
analogous
#3679C4 #3A36C4 #8136C4
triadic
#3A36C4 #C43A36 #36C43A
tetradic
#3A36C4 #C43679 #C0C436 #36C481
square
#3A36C4 #C43679 #C0C436 #36C481
split-complementary
#3A36C4 #C48136 #79C436
monochromatic
#1E1C64 #2C2994 #3A36C4 #6663D4 #9593E1

Accessibility & contrast

On white

8.38
#3A36C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A36C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36C4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36C4#FFFFFF#000000##FFFFFF
##3A36C41.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a36c4;
/* rgb */ color: rgb(58, 54, 196);
/* oklch */ color: oklch(44.2% 0.211 274.7);
Tailwind
colors: {
  custom: {
    50: '#846fd7',
    500: '#3a36c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a36c4;
$custom-light: #846fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36c4",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 241.69,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.21142,
    "h": 274.7
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#3A36C4
secondary
#CACC89
accent
#E048DC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3A36C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3A36C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva