#3A2AB5#3A2AB5

#3A2AB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.205 H 277.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB5
RGBrgb(58, 42, 181)
HSLhsl(247, 62%, 44%)
HSVhsv(247, 77%, 71%)
CMYKcmyk(68%, 76.8%, 0%, 29%)
CIE-LABlab(29.14, 48.45, -70.35)
CIE-LCHlch(29.14, 85.42, 304.56°)
OKLaboklab(41.04% 0.0268 -0.2032)
OKLCHoklch(41.04% 0.205 277.5)
XYZxyz(10.9107, 5.8907, 44.2691)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB5 #A5B52A
analogous
#2A5FB5 #3A2AB5 #7F2AB5
triadic
#3A2AB5 #B53A2A #2AB53A
tetradic
#3A2AB5 #B52A5F #A5B52A #2AB57F
square
#3A2AB5 #B52A5F #A5B52A #2AB57F
split-complementary
#3A2AB5 #B57F2A #5FB52A
monochromatic
#1A1352 #2A1E83 #3A2AB5 #5848D4 #8579E0

Accessibility & contrast

On white

9.64
#3A2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AB5
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB5#FFFFFF#000000##FFFFFF
##3A2AB51.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2ab5;
/* rgb */ color: rgb(58, 42, 181);
/* oklch */ color: oklch(41.0% 0.205 277.5);
Tailwind
colors: {
  custom: {
    50: '#8267cc',
    500: '#3a2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab5;
$custom-light: #8267cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab5",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 246.906,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.20501,
    "h": 277.5
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#3A2AB5
secondary
#BEC873
accent
#E542D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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