#3A2AA5#3A2AA5

#3A2AA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.186 H 279.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3A2AA5
RGBrgb(58, 42, 165)
HSLhsl(248, 59%, 41%)
HSVhsv(248, 75%, 65%)
CMYKcmyk(64.8%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.49, 43.44, -63.45)
CIE-LCHlch(27.49, 76.90, 304.40°)
OKLaboklab(39.39% 0.0306 -0.1831)
OKLCHoklch(39.39% 0.186 279.5)
XYZxyz(9.3622, 5.2713, 36.1141)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AA5 #95A52A
analogous
#2A57A5 #3A2AA5 #772AA5
triadic
#3A2AA5 #A53A2A #2AA53A
tetradic
#3A2AA5 #A52A57 #95A52A #2AA577
square
#3A2AA5 #A52A57 #95A52A #2AA577
split-complementary
#3A2AA5 #A5772A #57A52A
monochromatic
#181143 #291E74 #3A2AA5 #513ECE #7D6FDA

Accessibility & contrast

On white

10.22
#3A2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A2AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AA5
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AA5#FFFFFF#000000##FFFFFF
##3A2AA51.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2aa5;
/* rgb */ color: rgb(58, 42, 165);
/* oklch */ color: oklch(39.4% 0.186 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e66c1',
    500: '#3a2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aa5;
$custom-light: #7e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aa5",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 247.805,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.18568,
    "h": 279.5
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#3A2AA5
secondary
#B6C169
accent
#E345CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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