#3A2AB6#3A2AB6

#3A2AB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.206 H 277.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB6
RGBrgb(58, 42, 182)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 77%, 71%)
CMYKcmyk(68.1%, 76.9%, 0%, 28.6%)
CIE-LABlab(29.24, 48.76, -70.77)
CIE-LCHlch(29.24, 85.94, 304.57°)
OKLaboklab(41.14% 0.0266 -0.2045)
OKLCHoklch(41.14% 0.206 277.4)
XYZxyz(11.0136, 5.9319, 44.8115)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB6 #A6B62A
analogous
#2A60B6 #3A2AB6 #802AB6
triadic
#3A2AB6 #B63A2A #2AB63A
tetradic
#3A2AB6 #B62A60 #A6B62A #2AB680
square
#3A2AB6 #B62A60 #A6B62A #2AB680
split-complementary
#3A2AB6 #B6802A #60B62A
monochromatic
#1A1353 #2A1F84 #3A2AB6 #5848D5 #867AE0

Accessibility & contrast

On white

9.60
#3A2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AB6
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB6#FFFFFF#000000##FFFFFF
##3A2AB61.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2ab6;
/* rgb */ color: rgb(58, 42, 182);
/* oklch */ color: oklch(41.1% 0.206 277.4);
Tailwind
colors: {
  custom: {
    50: '#8267cd',
    500: '#3a2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab6;
$custom-light: #8267cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab6",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 246.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.20619,
    "h": 277.4
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#3A2AB6
secondary
#BFC873
accent
#E642D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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