#3B2AAA#3B2AAA

#3B2AAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.192 H 279.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3B2AAA
RGBrgb(59, 42, 170)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(65.3%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.08, 45.13, -65.50)
CIE-LCHlch(28.08, 79.55, 304.57°)
OKLaboklab(39.97% 0.0308 -0.1891)
OKLCHoklch(39.97% 0.192 279.3)
XYZxyz(9.8850, 5.4872, 38.5606)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AAA #99AA2A
analogous
#2A59AA #3B2AAA #7B2AAA
triadic
#3B2AAA #AA3B2A #2AAA3B
tetradic
#3B2AAA #AA2A59 #99AA2A #2AAA7B
square
#3B2AAA #AA2A59 #99AA2A #2AAA7B
split-complementary
#3B2AAA #AA7B2A #59AA2A
monochromatic
#191248 #2A1E79 #3B2AAA #5441D0 #8072DC

Accessibility & contrast

On white

10.01
#3B2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3B2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AAA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AAA#FFFFFF#000000##FFFFFF
##3B2AAA1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2aaa;
/* rgb */ color: rgb(59, 42, 170);
/* oklch */ color: oklch(40.0% 0.192 279.3);
Tailwind
colors: {
  custom: {
    50: '#8066c4',
    500: '#3b2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aaa;
$custom-light: #8066c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aaa",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 247.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.1916,
    "h": 279.3
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#3B2AAA
secondary
#B8C36C
accent
#E444CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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