#3B2EAB#3B2EAB

#3B2EAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.189 H 278.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3B2EAB
RGBrgb(59, 46, 171)
HSLhsl(246, 58%, 43%)
HSVhsv(246, 73%, 67%)
CMYKcmyk(65.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.96, 43.25, -64.65)
CIE-LCHlch(28.96, 77.78, 303.78°)
OKLaboklab(40.63% 0.028 -0.1866)
OKLCHoklch(40.63% 0.189 278.5)
XYZxyz(10.1289, 5.8232, 39.1104)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EAB #9EAB2E
analogous
#2E5FAB #3B2EAB #7A2EAB
triadic
#3B2EAB #AB3B2E #2EAB3B
tetradic
#3B2EAB #AB2E5F #9EAB2E #2EAB7A
square
#3B2EAB #AB2E5F #9EAB2E #2EAB7A
split-complementary
#3B2EAB #AB7A2E #5FAB2E
monochromatic
#1A144B #2A217B #3B2EAB #5648CE #8379DB

Accessibility & contrast

On white

9.70
#3B2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3B2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EAB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EAB#FFFFFF#000000##FFFFFF
##3B2EAB1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2eab;
/* rgb */ color: rgb(59, 46, 171);
/* oklch */ color: oklch(40.6% 0.189 278.5);
Tailwind
colors: {
  custom: {
    50: '#8069c5',
    500: '#3b2eab',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eab;
$custom-light: #8069c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eab",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 246.24,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.18873,
    "h": 278.5
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#3B2EAB
secondary
#BBC372
accent
#E147D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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