#3A2AB3#3A2AB3

#3A2AB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.203 H 277.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB3
RGBrgb(58, 42, 179)
HSLhsl(247, 62%, 43%)
HSVhsv(247, 77%, 70%)
CMYKcmyk(67.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.93, 47.83, -69.50)
CIE-LCHlch(28.93, 84.37, 304.54°)
OKLaboklab(40.83% 0.0273 -0.2008)
OKLCHoklch(40.83% 0.203 277.7)
XYZxyz(10.7069, 5.8092, 43.1961)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB3 #A3B32A
analogous
#2A5EB3 #3A2AB3 #7E2AB3
triadic
#3A2AB3 #B33A2A #2AB33A
tetradic
#3A2AB3 #B32A5E #A3B32A #2AB37E
square
#3A2AB3 #B32A5E #A3B32A #2AB37E
split-complementary
#3A2AB3 #B37E2A #5EB32A
monochromatic
#1A1350 #2A1E81 #3A2AB3 #5746D4 #8478DF

Accessibility & contrast

On white

9.71
#3A2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AB3
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB3#FFFFFF#000000##FFFFFF
##3A2AB31.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2ab3;
/* rgb */ color: rgb(58, 42, 179);
/* oklch */ color: oklch(40.8% 0.203 277.7);
Tailwind
colors: {
  custom: {
    50: '#8167cb',
    500: '#3a2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab3;
$custom-light: #8167cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab3",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 247.007,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.20263,
    "h": 277.7
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#3A2AB3
secondary
#BDC772
accent
#E543D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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