#3B2C8A#3B2C8A

#3B2C8A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.149 H 283.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3B2C8A
RGBrgb(59, 44, 138)
HSLhsl(250, 52%, 36%)
HSVhsv(250, 68%, 54%)
CMYKcmyk(57.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(25.46, 33.74, -50.22)
CIE-LCHlch(25.46, 60.50, 303.89°)
OKLaboklab(37.18% 0.0354 -0.1444)
OKLCHoklch(37.18% 0.149 283.8)
XYZxyz(7.2904, 4.5657, 24.5369)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2C8A #7B8A2C
analogous
#2C4C8A #3B2C8A #6A2C8A
triadic
#3B2C8A #8A3B2C #2C8A3B
tetradic
#3B2C8A #8A2C4C #7B8A2C #2C8A6A
square
#3B2C8A #8A2C4C #7B8A2C #2C8A6A
split-complementary
#3B2C8A #8A6A2C #4C8A2C
monochromatic
#130E2D #271D5C #3B2C8A #4F3BB8 #7463CD

Accessibility & contrast

On white

10.98
#3B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3B2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2C8A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2C8A#FFFFFF#000000##FFFFFF
##3B2C8A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#154457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3b2c8a;
/* rgb */ color: rgb(59, 44, 138);
/* oklch */ color: oklch(37.2% 0.149 283.8);
Tailwind
colors: {
  custom: {
    50: '#7a66ad',
    500: '#3b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b2c8a;
$custom-light: #7a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2c8a",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 249.574,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.14866,
    "h": 283.8
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#3B2C8A
secondary
#A6B45E
accent
#DB4DC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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