#3B2C99#3B2C99

#3B2C99 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.168 H 281.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3B2C99
RGBrgb(59, 44, 153)
HSLhsl(248, 55%, 39%)
HSVhsv(248, 71%, 60%)
CMYKcmyk(61.4%, 71.2%, 0%, 40%)
CIE-LABlab(26.82, 38.60, -57.25)
CIE-LCHlch(26.82, 69.05, 303.99°)
OKLaboklab(38.58% 0.033 -0.165)
OKLCHoklch(38.58% 0.168 281.3)
XYZxyz(8.4523, 5.0305, 30.6564)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2C99 #8A992C
analogous
#2C5399 #3B2C99 #712C99
triadic
#3B2C99 #993B2C #2C993B
tetradic
#3B2C99 #992C53 #8A992C #2C9971
square
#3B2C99 #992C53 #8A992C #2C9971
split-complementary
#3B2C99 #99712C #53992C
monochromatic
#16113A #291E69 #3B2C99 #4F3BC7 #796BD4

Accessibility & contrast

On white

10.47
#3B2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3B2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2C99
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2C99#FFFFFF#000000##FFFFFF
##3B2C991.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b2c99;
/* rgb */ color: rgb(59, 44, 153);
/* oklch */ color: oklch(38.6% 0.168 281.3);
Tailwind
colors: {
  custom: {
    50: '#7c67b8',
    500: '#3b2c99',
    950: '#000000',
  },
}
SCSS
$custom: #3b2c99;
$custom-light: #7c67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2c99",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 248.257,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.16826,
    "h": 281.3
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#3B2C99
secondary
#AFBB66
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3B2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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