#3B2FA7#3B2FA7

#3B2FA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.183 H 278.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA7
RGBrgb(59, 47, 167)
HSLhsl(246, 56%, 42%)
HSVhsv(246, 72%, 65%)
CMYKcmyk(64.7%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.78, 41.39, -62.54)
CIE-LCHlch(28.78, 75.00, 303.50°)
OKLaboklab(40.38% 0.0281 -0.1805)
OKLCHoklch(40.38% 0.183 278.9)
XYZxyz(9.7930, 5.7521, 37.1459)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA7 #9BA72F
analogous
#2F5FA7 #3B2FA7 #772FA7
triadic
#3B2FA7 #A73B2F #2FA73B
tetradic
#3B2FA7 #A72F5F #9BA72F #2FA777
square
#3B2FA7 #A72F5F #9BA72F #2FA777
split-complementary
#3B2FA7 #A7772F #5FA72F
monochromatic
#191447 #2A2277 #3B2FA7 #5548CB #8178D9

Accessibility & contrast

On white

9.76
#3B2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3B2FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FA7
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA7#FFFFFF#000000##FFFFFF
##3B2FA71.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2fa7;
/* rgb */ color: rgb(59, 47, 167);
/* oklch */ color: oklch(40.4% 0.183 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3b2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa7;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa7",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 246,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.18267,
    "h": 278.9
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#3B2FA7
secondary
#B9C171
accent
#DF48D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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