#3A2DB4#3A2DB4

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

Color values

HEX#3A2DB4
RGBrgb(58, 45, 180)
HSLhsl(246, 60%, 44%)
HSVhsv(246, 75%, 71%)
CMYKcmyk(67.8%, 75%, 0%, 29.4%)
CIE-LABlab(29.59, 46.55, -69.00)
CIE-LCHlch(29.59, 83.24, 304.01°)
OKLaboklab(41.33% 0.0254 -0.1993)
OKLCHoklch(41.33% 0.201 277.3)
XYZxyz(10.9189, 6.0706, 43.7675)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB4 #A7B42D
analogous
#2D64B4 #3A2DB4 #7E2DB4
triadic
#3A2DB4 #B43A2D #2DB43A
tetradic
#3A2DB4 #B42D64 #A7B42D #2DB47E
square
#3A2DB4 #B42D64 #A7B42D #2DB47E
split-complementary
#3A2DB4 #B47E2D #64B42D
monochromatic
#1A1552 #2A2183 #3A2DB4 #594CD2 #867DDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A2DB4#FFFFFF#000000##FFFFFF
##3A2DB41.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2db4;
/* rgb */ color: rgb(58, 45, 180);
/* oklch */ color: oklch(41.3% 0.201 277.3);
Tailwind
colors: {
  custom: {
    50: '#8168cc',
    500: '#3a2db4',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db4;
$custom-light: #8168cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db4",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 245.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.20096,
    "h": 277.3
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#3A2DB4
secondary
#BFC776
accent
#E345D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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