#3A2CA5#3A2CA5

#3A2CA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.184 H 279.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA5
RGBrgb(58, 44, 165)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 73%, 65%)
CMYKcmyk(64.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(27.89, 42.33, -62.80)
CIE-LCHlch(27.89, 75.73, 303.98°)
OKLaboklab(39.67% 0.0292 -0.1812)
OKLCHoklch(39.67% 0.184 279.2)
XYZxyz(9.4350, 5.4168, 36.1384)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA5 #97A52C
analogous
#2C5AA5 #3A2CA5 #762CA5
triadic
#3A2CA5 #A53A2C #2CA53A
tetradic
#3A2CA5 #A52C5A #97A52C #2CA576
square
#3A2CA5 #A52C5A #97A52C #2CA576
split-complementary
#3A2CA5 #A5762C #5AA52C
monochromatic
#181244 #291F75 #3A2CA5 #5242CD #7E72D9

Accessibility & contrast

On white

10.08
#3A2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA5
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA5#FFFFFF#000000##FFFFFF
##3A2CA51.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ca5;
/* rgb */ color: rgb(58, 44, 165);
/* oklch */ color: oklch(39.7% 0.184 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e67c1',
    500: '#3a2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca5;
$custom-light: #7e67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca5",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 246.942,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.18359,
    "h": 279.2
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#3A2CA5
secondary
#B7C16C
accent
#E147CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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