#3B2FA2#3B2FA2

#3B2FA2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.176 H 279.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA2
RGBrgb(59, 47, 162)
HSLhsl(246, 55%, 41%)
HSVhsv(246, 71%, 64%)
CMYKcmyk(63.6%, 71%, 0%, 36.5%)
CIE-LABlab(28.30, 39.77, -60.30)
CIE-LCHlch(28.30, 72.24, 303.40°)
OKLaboklab(39.9% 0.029 -0.1739)
OKLCHoklch(39.9% 0.176 279.5)
XYZxyz(9.3397, 5.5708, 34.7585)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA2 #96A22F
analogous
#2F5CA2 #3B2FA2 #742FA2
triadic
#3B2FA2 #A23B2F #2FA23B
tetradic
#3B2FA2 #A22F5C #96A22F #2FA274
square
#3B2FA2 #A22F5C #96A22F #2FA274
split-complementary
#3B2FA2 #A2742F #5CA22F
monochromatic
#181343 #2A2173 #3B2FA2 #5345C9 #7F75D7

Accessibility & contrast

On white

9.93
#3B2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2FA2
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA2#FFFFFF#000000##FFFFFF
##3B2FA21.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2fa2;
/* rgb */ color: rgb(59, 47, 162);
/* oklch */ color: oklch(39.9% 0.176 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e69bf',
    500: '#3b2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa2;
$custom-light: #7e69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa2",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 246.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.17634,
    "h": 279.5
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#3B2FA2
secondary
#B6BF6E
accent
#DE49CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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