#3A2CA6#3A2CA6

#3A2CA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.185 H 279.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA6
RGBrgb(58, 44, 166)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 73%, 65%)
CMYKcmyk(65.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.99, 42.65, -63.24)
CIE-LCHlch(27.99, 76.28, 303.99°)
OKLaboklab(39.77% 0.029 -0.1825)
OKLCHoklch(39.77% 0.185 279)
XYZxyz(9.5263, 5.4533, 36.6196)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA6 #98A62C
analogous
#2C5BA6 #3A2CA6 #772CA6
triadic
#3A2CA6 #A63A2C #2CA63A
tetradic
#3A2CA6 #A62C5B #98A62C #2CA677
square
#3A2CA6 #A62C5B #98A62C #2CA677
split-complementary
#3A2CA6 #A6772C #5BA62C
monochromatic
#181245 #291F76 #3A2CA6 #5242CD #7E73DA

Accessibility & contrast

On white

10.04
#3A2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA6
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA6#FFFFFF#000000##FFFFFF
##3A2CA61.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ca6;
/* rgb */ color: rgb(58, 44, 166);
/* oklch */ color: oklch(39.8% 0.185 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#3a2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca6;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca6",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 246.885,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.18484,
    "h": 279
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#3A2CA6
secondary
#B8C16D
accent
#E146D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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