#3B2CA6#3B2CA6

#3B2CA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.185 H 279.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3B2CA6
RGBrgb(59, 44, 166)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 73%, 65%)
CMYKcmyk(64.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(28.07, 42.77, -63.11)
CIE-LCHlch(28.07, 76.24, 304.13°)
OKLaboklab(39.85% 0.0304 -0.1821)
OKLCHoklch(39.85% 0.185 279.5)
XYZxyz(9.5851, 5.4836, 36.6223)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2CA6 #97A62C
analogous
#2C5AA6 #3B2CA6 #782CA6
triadic
#3B2CA6 #A63B2C #2CA63B
tetradic
#3B2CA6 #A62C5A #97A62C #2CA678
square
#3B2CA6 #A62C5A #97A62C #2CA678
split-complementary
#3B2CA6 #A6782C #5AA62C
monochromatic
#191245 #2A1F76 #3B2CA6 #5342CD #7F73DA

Accessibility & contrast

On white

10.02
#3B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3B2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2CA6
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2CA6#FFFFFF#000000##FFFFFF
##3B2CA61.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2ca6;
/* rgb */ color: rgb(59, 44, 166);
/* oklch */ color: oklch(39.8% 0.185 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f67c2',
    500: '#3b2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ca6;
$custom-light: #7f67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ca6",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 247.377,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.18464,
    "h": 279.5
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#3B2CA6
secondary
#B7C16D
accent
#E146CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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