#3B2FA6#3B2FA6

#3B2FA6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.181 H 279.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA6
RGBrgb(59, 47, 166)
HSLhsl(246, 56%, 42%)
HSVhsv(246, 72%, 65%)
CMYKcmyk(64.5%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.68, 41.07, -62.10)
CIE-LCHlch(28.68, 74.45, 303.48°)
OKLaboklab(40.28% 0.0283 -0.1792)
OKLCHoklch(40.28% 0.181 279)
XYZxyz(9.7009, 5.7152, 36.6609)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA6 #9AA62F
analogous
#2F5FA6 #3B2FA6 #772FA6
triadic
#3B2FA6 #A63B2F #2FA63B
tetradic
#3B2FA6 #A62F5F #9AA62F #2FA677
square
#3B2FA6 #A62F5F #9AA62F #2FA677
split-complementary
#3B2FA6 #A6772F #5FA62F
monochromatic
#191447 #2A2176 #3B2FA6 #5547CB #8177D8

Accessibility & contrast

On white

9.80
#3B2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B2FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FA6
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA6#FFFFFF#000000##FFFFFF
##3B2FA61.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2fa6;
/* rgb */ color: rgb(59, 47, 166);
/* oklch */ color: oklch(40.3% 0.181 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3b2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa6;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa6",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 246.05,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.18141,
    "h": 279
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#3B2FA6
secondary
#B8C170
accent
#DF49D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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