#3B2CAA#3B2CAA

#3B2CAA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.190 H 279.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3B2CAA
RGBrgb(59, 44, 170)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 74%, 67%)
CMYKcmyk(65.3%, 74.1%, 0%, 33.3%)
CIE-LABlab(28.47, 44.05, -64.86)
CIE-LCHlch(28.47, 78.41, 304.18°)
OKLaboklab(40.25% 0.0295 -0.1873)
OKLCHoklch(40.25% 0.19 279)
XYZxyz(9.9577, 5.6326, 38.5849)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2CAA #9BAA2C
analogous
#2C5CAA #3B2CAA #7A2CAA
triadic
#3B2CAA #AA3B2C #2CAA3B
tetradic
#3B2CAA #AA2C5C #9BAA2C #2CAA7A
square
#3B2CAA #AA2C5C #9BAA2C #2CAA7A
split-complementary
#3B2CAA #AA7A2C #5CAA2C
monochromatic
#191349 #2A1F79 #3B2CAA #5544CF #8175DB

Accessibility & contrast

On white

9.87
#3B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2CAA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2CAA#FFFFFF#000000##FFFFFF
##3B2CAA1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2caa;
/* rgb */ color: rgb(59, 44, 170);
/* oklch */ color: oklch(40.2% 0.190 279.0);
Tailwind
colors: {
  custom: {
    50: '#8067c4',
    500: '#3b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #3b2caa;
$custom-light: #8067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2caa",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 247.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.18958,
    "h": 279
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#3B2CAA
secondary
#B9C36F
accent
#E246CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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