#3B2FA1#3B2FA1

#3B2FA1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.175 H 279.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA1
RGBrgb(59, 47, 161)
HSLhsl(246, 55%, 41%)
HSVhsv(246, 71%, 63%)
CMYKcmyk(63.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.21, 39.44, -59.85)
CIE-LCHlch(28.21, 71.68, 303.39°)
OKLaboklab(39.8% 0.0292 -0.1726)
OKLCHoklch(39.8% 0.175 279.6)
XYZxyz(9.2511, 5.5353, 34.2922)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA1 #95A12F
analogous
#2F5CA1 #3B2FA1 #742FA1
triadic
#3B2FA1 #A13B2F #2FA13B
tetradic
#3B2FA1 #A12F5C #95A12F #2FA174
square
#3B2FA1 #A12F5C #95A12F #2FA174
split-complementary
#3B2FA1 #A1742F #5CA12F
monochromatic
#181342 #2A2172 #3B2FA1 #5345C9 #7E74D6

Accessibility & contrast

On white

9.97
#3B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2FA1
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA1#FFFFFF#000000##FFFFFF
##3B2FA11.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2fa1;
/* rgb */ color: rgb(59, 47, 161);
/* oklch */ color: oklch(39.8% 0.175 279.6);
Tailwind
colors: {
  custom: {
    50: '#7e69be',
    500: '#3b2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa1;
$custom-light: #7e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa1",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 246.316,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.398,
    "c": 0.17507,
    "h": 279.6
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#3B2FA1
secondary
#B6BE6E
accent
#DE4ACF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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