#3A2DAC#3A2DAC

#3A2DAC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.191 H 278.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3A2DAC
RGBrgb(58, 45, 172)
HSLhsl(246, 59%, 43%)
HSVhsv(246, 74%, 67%)
CMYKcmyk(66.3%, 73.8%, 0%, 32.5%)
CIE-LABlab(28.78, 44.01, -65.55)
CIE-LCHlch(28.78, 78.95, 303.88°)
OKLaboklab(40.51% 0.0271 -0.1893)
OKLCHoklch(40.51% 0.191 278.1)
XYZxyz(10.1273, 5.7540, 39.5987)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DAC #9FAC2D
analogous
#2D5FAC #3A2DAC #7A2DAC
triadic
#3A2DAC #AC3A2D #2DAC3A
tetradic
#3A2DAC #AC2D5F #9FAC2D #2DAC7A
square
#3A2DAC #AC2D5F #9FAC2D #2DAC7A
split-complementary
#3A2DAC #AC7A2D #5FAC2D
monochromatic
#19144B #2A207B #3A2DAC #5547CF #8278DC

Accessibility & contrast

On white

9.76
#3A2DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A2DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DAC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DAC#FFFFFF#000000##FFFFFF
##3A2DAC1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2dac;
/* rgb */ color: rgb(58, 45, 172);
/* oklch */ color: oklch(40.5% 0.191 278.1);
Tailwind
colors: {
  custom: {
    50: '#8068c6',
    500: '#3a2dac',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dac;
$custom-light: #8068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dac",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 246.142,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.19121,
    "h": 278.1
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#3A2DAC
secondary
#BBC471
accent
#E246D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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