#3A2BA4#3A2BA4

#3A2BA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.183 H 279.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3A2BA4
RGBrgb(58, 43, 164)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 74%, 64%)
CMYKcmyk(64.6%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.59, 42.57, -62.69)
CIE-LCHlch(27.59, 75.77, 304.18°)
OKLaboklab(39.43% 0.0301 -0.1809)
OKLCHoklch(39.43% 0.183 279.4)
XYZxyz(9.3075, 5.3069, 35.6486)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BA4 #95A42B
analogous
#2B58A4 #3A2BA4 #762BA4
triadic
#3A2BA4 #A43A2B #2BA43A
tetradic
#3A2BA4 #A42B58 #95A42B #2BA476
square
#3A2BA4 #A42B58 #95A42B #2BA476
split-complementary
#3A2BA4 #A4762B #58A42B
monochromatic
#181243 #291E74 #3A2BA4 #513FCD #7D70D9

Accessibility & contrast

On white

10.19
#3A2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BA4
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BA4#FFFFFF#000000##FFFFFF
##3A2BA41.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2ba4;
/* rgb */ color: rgb(58, 43, 164);
/* oklch */ color: oklch(39.4% 0.183 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e66c0',
    500: '#3a2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ba4;
$custom-light: #7e66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ba4",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 247.438,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.18341,
    "h": 279.4
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#3A2BA4
secondary
#B6C16A
accent
#E246CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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