#3A2CB6#3A2CB6

#3A2CB6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.204 H 277.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB6
RGBrgb(58, 44, 182)
HSLhsl(246, 61%, 44%)
HSVhsv(246, 76%, 71%)
CMYKcmyk(68.1%, 75.8%, 0%, 28.6%)
CIE-LABlab(29.61, 47.72, -70.16)
CIE-LCHlch(29.61, 84.85, 304.22°)
OKLaboklab(41.4% 0.0255 -0.2027)
OKLCHoklch(41.4% 0.204 277.2)
XYZxyz(11.0864, 6.0773, 44.8357)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB6 #A8B62C
analogous
#2C63B6 #3A2CB6 #7F2CB6
triadic
#3A2CB6 #B63A2C #2CB63A
tetradic
#3A2CB6 #B62C63 #A8B62C #2CB67F
square
#3A2CB6 #B62C63 #A8B62C #2CB67F
split-complementary
#3A2CB6 #B67F2C #63B62C
monochromatic
#1B1453 #2A2085 #3A2CB6 #594CD4 #877DE0

Accessibility & contrast

On white

9.48
#3A2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB6
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB6#FFFFFF#000000##FFFFFF
##3A2CB61.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2cb6;
/* rgb */ color: rgb(58, 44, 182);
/* oklch */ color: oklch(41.4% 0.204 277.2);
Tailwind
colors: {
  custom: {
    50: '#8268cd',
    500: '#3a2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb6;
$custom-light: #8268cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb6",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 246.087,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.20433,
    "h": 277.2
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#3A2CB6
secondary
#C0C876
accent
#E444D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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