#3B2AA2#3B2AA2

#3B2AA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.182 H 280.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA2
RGBrgb(59, 42, 162)
HSLhsl(249, 59%, 40%)
HSVhsv(249, 74%, 64%)
CMYKcmyk(63.6%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.28, 42.61, -61.99)
CIE-LCHlch(27.28, 75.22, 304.51°)
OKLaboklab(39.17% 0.0326 -0.1788)
OKLCHoklch(39.17% 0.182 280.3)
XYZxyz(9.1511, 5.1937, 34.6957)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA2 #91A22A
analogous
#2A55A2 #3B2AA2 #772AA2
triadic
#3B2AA2 #A23B2A #2AA23B
tetradic
#3B2AA2 #A22A55 #91A22A #2AA277
square
#3B2AA2 #A22A55 #91A22A #2AA277
split-complementary
#3B2AA2 #A2772A #55A22A
monochromatic
#181141 #291D71 #3B2AA2 #513DCD #7C6DD9

Accessibility & contrast

On white

10.30
#3B2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3B2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA2
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA2#FFFFFF#000000##FFFFFF
##3B2AA21.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b2aa2;
/* rgb */ color: rgb(59, 42, 162);
/* oklch */ color: oklch(39.2% 0.182 280.3);
Tailwind
colors: {
  custom: {
    50: '#7e66bf',
    500: '#3b2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa2;
$custom-light: #7e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa2",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 248.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.18178,
    "h": 280.3
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#3B2AA2
secondary
#B4C068
accent
#E246CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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