#3B2FA4#3B2FA4

#3B2FA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.179 H 279.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA4
RGBrgb(59, 47, 164)
HSLhsl(246, 55%, 41%)
HSVhsv(246, 71%, 64%)
CMYKcmyk(64%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.49, 40.42, -61.20)
CIE-LCHlch(28.49, 73.35, 303.44°)
OKLaboklab(40.09% 0.0287 -0.1766)
OKLCHoklch(40.09% 0.179 279.2)
XYZxyz(9.5188, 5.6424, 35.7022)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA4 #98A42F
analogous
#2F5EA4 #3B2FA4 #762FA4
triadic
#3B2FA4 #A43B2F #2FA43B
tetradic
#3B2FA4 #A42F5E #98A42F #2FA476
square
#3B2FA4 #A42F5E #98A42F #2FA476
split-complementary
#3B2FA4 #A4762F #5EA42F
monochromatic
#191445 #2A2174 #3B2FA4 #5446CA #8076D8

Accessibility & contrast

On white

9.87
#3B2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FA4
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA4#FFFFFF#000000##FFFFFF
##3B2FA41.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2fa4;
/* rgb */ color: rgb(59, 47, 164);
/* oklch */ color: oklch(40.1% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e69c0',
    500: '#3b2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa4;
$custom-light: #7e69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa4",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 246.154,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.17888,
    "h": 279.2
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#3B2FA4
secondary
#B7C06F
accent
#DF49CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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