#3A2B9A#3A2B9A

#3A2B9A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.171 H 280.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3A2B9A
RGBrgb(58, 43, 154)
HSLhsl(248, 56%, 39%)
HSVhsv(248, 72%, 60%)
CMYKcmyk(62.3%, 72.1%, 0%, 39.6%)
CIE-LABlab(26.62, 39.36, -58.20)
CIE-LCHlch(26.62, 70.26, 304.07°)
OKLaboklab(38.44% 0.0321 -0.1678)
OKLCHoklch(38.44% 0.171 280.8)
XYZxyz(8.4397, 4.9598, 31.0782)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B9A #8B9A2B
analogous
#2B539A #3A2B9A #712B9A
triadic
#3A2B9A #9A3A2B #2B9A3A
tetradic
#3A2B9A #9A2B53 #8B9A2B #2B9A71
square
#3A2B9A #9A2B53 #8B9A2B #2B9A71
split-complementary
#3A2B9A #9A712B #539A2B
monochromatic
#16103A #281E6A #3A2B9A #4D3AC8 #796AD5

Accessibility & contrast

On white

10.54
#3A2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B9A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B9A#FFFFFF#000000##FFFFFF
##3A2B9A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a2b9a;
/* rgb */ color: rgb(58, 43, 154);
/* oklch */ color: oklch(38.4% 0.171 280.8);
Tailwind
colors: {
  custom: {
    50: '#7c66b9',
    500: '#3a2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b9a;
$custom-light: #7c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b9a",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 248.108,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.17085,
    "h": 280.8
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#3A2B9A
secondary
#B0BC65
accent
#E048CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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