#3B2B9D#3B2B9D

#3B2B9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.174 H 280.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3B2B9D
RGBrgb(59, 43, 157)
HSLhsl(248, 57%, 39%)
HSVhsv(248, 73%, 62%)
CMYKcmyk(62.4%, 72.6%, 0%, 38.4%)
CIE-LABlab(26.99, 40.46, -59.42)
CIE-LCHlch(26.99, 71.89, 304.26°)
OKLaboklab(38.82% 0.033 -0.1713)
OKLCHoklch(38.82% 0.174 280.9)
XYZxyz(8.7514, 5.0912, 32.4133)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2B9D #8D9D2B
analogous
#2B549D #3B2B9D #742B9D
triadic
#3B2B9D #9D3B2B #2B9D3B
tetradic
#3B2B9D #9D2B54 #8D9D2B #2B9D74
square
#3B2B9D #9D2B54 #8D9D2B #2B9D74
split-complementary
#3B2B9D #9D742B #549D2B
monochromatic
#17113D #291E6D #3B2B9D #503CCA #7B6CD7

Accessibility & contrast

On white

10.40
#3B2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3B2B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2B9D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2B9D#FFFFFF#000000##FFFFFF
##3B2B9D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b2b9d;
/* rgb */ color: rgb(59, 43, 157);
/* oklch */ color: oklch(38.8% 0.174 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d66bb',
    500: '#3b2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #3b2b9d;
$custom-light: #7d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2b9d",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 248.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.17447,
    "h": 280.9
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#3B2B9D
secondary
#B1BD66
accent
#E048CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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