#3B2C8D#3B2C8D

#3B2C8D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.153 H 283.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3B2C8D
RGBrgb(59, 44, 141)
HSLhsl(249, 52%, 36%)
HSVhsv(249, 69%, 55%)
CMYKcmyk(58.2%, 68.8%, 0%, 44.7%)
CIE-LABlab(25.72, 34.71, -51.66)
CIE-LCHlch(25.72, 62.24, 303.90°)
OKLaboklab(37.45% 0.035 -0.1486)
OKLCHoklch(37.45% 0.153 283.2)
XYZxyz(7.5106, 4.6538, 25.6966)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2C8D #7E8D2C
analogous
#2C4E8D #3B2C8D #6C2C8D
triadic
#3B2C8D #8D3B2C #2C8D3B
tetradic
#3B2C8D #8D2C4E #7E8D2C #2C8D6C
square
#3B2C8D #8D2C4E #7E8D2C #2C8D6C
split-complementary
#3B2C8D #8D6C2C #4E8D2C
monochromatic
#140F30 #271D5E #3B2C8D #4F3BBC #7565CF

Accessibility & contrast

On white

10.88
#3B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3B2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2C8D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2C8D#FFFFFF#000000##FFFFFF
##3B2C8D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#104558
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b2c8d;
/* rgb */ color: rgb(59, 44, 141);
/* oklch */ color: oklch(37.5% 0.153 283.2);
Tailwind
colors: {
  custom: {
    50: '#7a66af',
    500: '#3b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3b2c8d;
$custom-light: #7a66af;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2c8d",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 249.278,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37454,
    "c": 0.15264,
    "h": 283.2
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#3B2C8D
secondary
#A8B560
accent
#DC4CC6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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