#3A2ABD#3A2ABD

#3A2ABD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.214 H 276.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3A2ABD
RGBrgb(58, 42, 189)
HSLhsl(247, 64%, 45%)
HSVhsv(247, 78%, 74%)
CMYKcmyk(69.3%, 77.8%, 0%, 25.9%)
CIE-LABlab(29.98, 50.92, -73.69)
CIE-LCHlch(29.98, 89.57, 304.64°)
OKLaboklab(41.88% 0.0248 -0.213)
OKLCHoklch(41.88% 0.214 276.7)
XYZxyz(11.7552, 6.2285, 48.7170)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ABD #ADBD2A
analogous
#2A63BD #3A2ABD #842ABD
triadic
#3A2ABD #BD3A2A #2ABD3A
tetradic
#3A2ABD #BD2A63 #ADBD2A #2ABD84
square
#3A2ABD #BD2A63 #ADBD2A #2ABD84
split-complementary
#3A2ABD #BD842A #63BD2A
monochromatic
#1B1459 #2B1F8B #3A2ABD #5C4DD7 #8A7FE3

Accessibility & contrast

On white

9.35
#3A2ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A2ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ABD
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ABD#FFFFFF#000000##FFFFFF
##3A2ABD1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2abd;
/* rgb */ color: rgb(58, 42, 189);
/* oklch */ color: oklch(41.9% 0.214 276.7);
Tailwind
colors: {
  custom: {
    50: '#8367d2',
    500: '#3a2abd',
    950: '#000000',
  },
}
SCSS
$custom: #3a2abd;
$custom-light: #8367d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2abd",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 246.531,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.21442,
    "h": 276.7
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#3A2ABD
secondary
#C2CB78
accent
#E741D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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