#3A329A#3A329A

#3A329A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.163 H 279.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3A329A
RGBrgb(58, 50, 154)
HSLhsl(245, 51%, 40%)
HSVhsv(245, 68%, 60%)
CMYKcmyk(62.3%, 67.5%, 0%, 39.6%)
CIE-LABlab(28.15, 35.18, -55.69)
CIE-LCHlch(28.15, 65.87, 302.28°)
OKLaboklab(39.54% 0.0265 -0.1605)
OKLCHoklch(39.54% 0.163 279.4)
XYZxyz(8.7164, 5.5132, 31.1704)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A329A #929A32
analogous
#325E9A #3A329A #6E329A
triadic
#3A329A #9A3A32 #329A3A
tetradic
#3A329A #9A325E #929A32 #329A6E
square
#3A329A #9A325E #929A32 #329A6E
split-complementary
#3A329A #9A6E32 #5E9A32
monochromatic
#17143E #29236C #3A329A #5046C3 #7C74D2

Accessibility & contrast

On white

9.99
#3A329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A329A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A329A#FFFFFF#000000##FFFFFF
##3A329A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a329a;
/* rgb */ color: rgb(58, 50, 154);
/* oklch */ color: oklch(39.5% 0.163 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c6bb9',
    500: '#3a329a',
    950: '#000000',
  },
}
SCSS
$custom: #3a329a;
$custom-light: #7c6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a329a",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 244.615,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.16263,
    "h": 279.4
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#3A329A
secondary
#B4BA6E
accent
#DA4DD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A329A

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

Preview Lab → · Contrast checker → · Palette generator →

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