#3A2DB1#3A2DB1

#3A2DB1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.197 H 277.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB1
RGBrgb(58, 45, 177)
HSLhsl(246, 59%, 44%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(67.2%, 74.6%, 0%, 30.6%)
CIE-LABlab(29.29, 45.60, -67.71)
CIE-LCHlch(29.29, 81.64, 303.96°)
OKLaboklab(41.02% 0.026 -0.1956)
OKLCHoklch(41.02% 0.197 277.6)
XYZxyz(10.6165, 5.9497, 42.1754)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB1 #A4B12D
analogous
#2D62B1 #3A2DB1 #7C2DB1
triadic
#3A2DB1 #B13A2D #2DB13A
tetradic
#3A2DB1 #B12D62 #A4B12D #2DB17C
square
#3A2DB1 #B12D62 #A4B12D #2DB17C
split-complementary
#3A2DB1 #B17C2D #62B12D
monochromatic
#1A144F #2A2180 #3A2DB1 #574AD1 #857BDD

Accessibility & contrast

On white

9.59
#3A2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2DB1
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB1#FFFFFF#000000##FFFFFF
##3A2DB11.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2db1;
/* rgb */ color: rgb(58, 45, 177);
/* oklch */ color: oklch(41.0% 0.197 277.6);
Tailwind
colors: {
  custom: {
    50: '#8168ca',
    500: '#3a2db1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db1;
$custom-light: #8168ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db1",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 245.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41018,
    "c": 0.19733,
    "h": 277.6
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#3A2DB1
secondary
#BEC674
accent
#E345D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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