#3B2AAB#3B2AAB

#3B2AAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.193 H 279.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3B2AAB
RGBrgb(59, 42, 171)
HSLhsl(248, 61%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(65.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.18, 45.45, -65.93)
CIE-LCHlch(28.18, 80.08, 304.58°)
OKLaboklab(40.08% 0.0306 -0.1904)
OKLCHoklch(40.08% 0.193 279.1)
XYZxyz(9.9799, 5.5252, 39.0607)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AAB #9AAB2A
analogous
#2A5AAB #3B2AAB #7C2AAB
triadic
#3B2AAB #AB3B2A #2AAB3B
tetradic
#3B2AAB #AB2A5A #9AAB2A #2AAB7C
square
#3B2AAB #AB2A5A #9AAB2A #2AAB7C
split-complementary
#3B2AAB #AB7C2A #5AAB2A
monochromatic
#191249 #2A1E7A #3B2AAB #5542D1 #8173DD

Accessibility & contrast

On white

9.98
#3B2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3B2AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AAB
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AAB#FFFFFF#000000##FFFFFF
##3B2AAB1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2aab;
/* rgb */ color: rgb(59, 42, 171);
/* oklch */ color: oklch(40.1% 0.193 279.1);
Tailwind
colors: {
  custom: {
    50: '#8066c5',
    500: '#3b2aab',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aab;
$custom-light: #8066c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aab",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 247.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.1928,
    "h": 279.1
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#3B2AAB
secondary
#B8C46D
accent
#E444CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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