#3A2DA1#3A2DA1

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

Color values

HEX#3A2DA1
RGBrgb(58, 45, 161)
HSLhsl(247, 56%, 40%)
HSVhsv(247, 72%, 63%)
CMYKcmyk(64%, 72%, 0%, 36.9%)
CIE-LABlab(27.71, 40.47, -60.68)
CIE-LCHlch(27.71, 72.94, 303.70°)
OKLaboklab(39.42% 0.0293 -0.1751)
OKLCHoklch(39.42% 0.178 279.5)
XYZxyz(9.1143, 5.3488, 34.2634)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DA1 #94A12D
analogous
#2D5AA1 #3A2DA1 #742DA1
triadic
#3A2DA1 #A13A2D #2DA13A
tetradic
#3A2DA1 #A12D5A #94A12D #2DA174
square
#3A2DA1 #A12D5A #94A12D #2DA174
split-complementary
#3A2DA1 #A1742D #5AA12D
monochromatic
#181241 #292071 #3A2DA1 #5141CA #7D71D7

Accessibility & contrast

On white

10.14
#3A2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DA1
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DA1#FFFFFF#000000##FFFFFF
##3A2DA11.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2da1;
/* rgb */ color: rgb(58, 45, 161);
/* oklch */ color: oklch(39.4% 0.177 279.5);
Tailwind
colors: {
  custom: {
    50: '#7d68be',
    500: '#3a2da1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2da1;
$custom-light: #7d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2da1",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 246.724,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.1775,
    "h": 279.5
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#3A2DA1
secondary
#B5BF6B
accent
#E048CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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