#3A2CA4#3A2CA4

#3A2CA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.182 H 279.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA4
RGBrgb(58, 44, 164)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(64.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(27.79, 42.01, -62.36)
CIE-LCHlch(27.79, 75.19, 303.97°)
OKLaboklab(39.57% 0.0294 -0.18)
OKLCHoklch(39.57% 0.182 279.3)
XYZxyz(9.3443, 5.3805, 35.6609)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA4 #96A42C
analogous
#2C5AA4 #3A2CA4 #762CA4
triadic
#3A2CA4 #A43A2C #2CA43A
tetradic
#3A2CA4 #A42C5A #96A42C #2CA476
square
#3A2CA4 #A42C5A #96A42C #2CA476
split-complementary
#3A2CA4 #A4762C #5AA42C
monochromatic
#181243 #291F74 #3A2CA4 #5141CC #7D71D9

Accessibility & contrast

On white

10.11
#3A2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA4
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA4#FFFFFF#000000##FFFFFF
##3A2CA41.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ca4;
/* rgb */ color: rgb(58, 44, 164);
/* oklch */ color: oklch(39.6% 0.182 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e67c0',
    500: '#3a2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca4;
$custom-light: #7e67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca4",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 247,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.18235,
    "h": 279.3
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#3A2CA4
secondary
#B6C06B
accent
#E147CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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