#3A2CB1#3A2CB1

#3A2CB1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.198 H 277.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB1
RGBrgb(58, 44, 177)
HSLhsl(246, 60%, 43%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(67.2%, 75.1%, 0%, 30.6%)
CIE-LABlab(29.09, 46.14, -68.03)
CIE-LCHlch(29.09, 82.20, 304.15°)
OKLaboklab(40.88% 0.0266 -0.1965)
OKLCHoklch(40.88% 0.198 277.7)
XYZxyz(10.5788, 5.8743, 42.1628)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB1 #A3B12C
analogous
#2C60B1 #3A2CB1 #7C2CB1
triadic
#3A2CB1 #B13A2C #2CB13A
tetradic
#3A2CB1 #B12C60 #A3B12C #2CB17C
square
#3A2CB1 #B12C60 #A3B12C #2CB17C
split-complementary
#3A2CB1 #B17C2C #60B12C
monochromatic
#1A144F #2A2080 #3A2CB1 #5749D2 #847ADE

Accessibility & contrast

On white

9.66
#3A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB1
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB1#FFFFFF#000000##FFFFFF
##3A2CB11.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2cb1;
/* rgb */ color: rgb(58, 44, 177);
/* oklch */ color: oklch(40.9% 0.198 277.7);
Tailwind
colors: {
  custom: {
    50: '#8168ca',
    500: '#3a2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb1;
$custom-light: #8168ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb1",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 246.316,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.19832,
    "h": 277.7
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#3A2CB1
secondary
#BDC673
accent
#E344D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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