#3A2AAD#3A2AAD

#3A2AAD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.195 H 278.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAD
RGBrgb(58, 42, 173)
HSLhsl(247, 61%, 42%)
HSVhsv(247, 76%, 68%)
CMYKcmyk(66.5%, 75.7%, 0%, 32.2%)
CIE-LABlab(28.31, 45.96, -66.93)
CIE-LCHlch(28.31, 81.19, 304.47°)
OKLaboklab(40.2% 0.0287 -0.1933)
OKLCHoklch(40.2% 0.195 278.5)
XYZxyz(10.1133, 5.5718, 40.0696)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAD #9DAD2A
analogous
#2A5CAD #3A2AAD #7B2AAD
triadic
#3A2AAD #AD3A2A #2AAD3A
tetradic
#3A2AAD #AD2A5C #9DAD2A #2AAD7B
square
#3A2AAD #AD2A5C #9DAD2A #2AAD7B
split-complementary
#3A2AAD #AD7B2A #5CAD2A
monochromatic
#19124B #291E7C #3A2AAD #5443D1 #8174DD

Accessibility & contrast

On white

9.93
#3A2AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A2AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAD
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAD#FFFFFF#000000##FFFFFF
##3A2AAD1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2aad;
/* rgb */ color: rgb(58, 42, 173);
/* oklch */ color: oklch(40.2% 0.195 278.5);
Tailwind
colors: {
  custom: {
    50: '#8066c7',
    500: '#3a2aad',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aad;
$custom-light: #8066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aad",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 247.328,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.19543,
    "h": 278.5
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#3A2AAD
secondary
#BAC56E
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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