#3A2CB5#3A2CB5

#3A2CB5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.203 H 277.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB5
RGBrgb(58, 44, 181)
HSLhsl(246, 61%, 44%)
HSVhsv(246, 76%, 71%)
CMYKcmyk(68%, 75.7%, 0%, 29%)
CIE-LABlab(29.50, 47.40, -69.74)
CIE-LCHlch(29.50, 84.32, 304.21°)
OKLaboklab(41.29% 0.0257 -0.2015)
OKLCHoklch(41.29% 0.203 277.3)
XYZxyz(10.9834, 6.0361, 44.2934)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB5 #A7B52C
analogous
#2C63B5 #3A2CB5 #7F2CB5
triadic
#3A2CB5 #B53A2C #2CB53A
tetradic
#3A2CB5 #B52C63 #A7B52C #2CB57F
square
#3A2CB5 #B52C63 #A7B52C #2CB57F
split-complementary
#3A2CB5 #B57F2C #63B52C
monochromatic
#1A1453 #2A2084 #3A2CB5 #594BD3 #867CDF

Accessibility & contrast

On white

9.51
#3A2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB5
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB5#FFFFFF#000000##FFFFFF
##3A2CB51.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2cb5;
/* rgb */ color: rgb(58, 44, 181);
/* oklch */ color: oklch(41.3% 0.203 277.3);
Tailwind
colors: {
  custom: {
    50: '#8268cc',
    500: '#3a2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb5;
$custom-light: #8268cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb5",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 246.131,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.20313,
    "h": 277.3
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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