#3B2CAB#3B2CAB

#3B2CAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.191 H 278.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3B2CAB
RGBrgb(59, 44, 171)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 74%, 67%)
CMYKcmyk(65.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.57, 44.36, -65.30)
CIE-LCHlch(28.57, 78.94, 304.19°)
OKLaboklab(40.35% 0.0293 -0.1885)
OKLCHoklch(40.35% 0.191 278.8)
XYZxyz(10.0526, 5.6706, 39.0850)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2CAB #9CAB2C
analogous
#2C5CAB #3B2CAB #7B2CAB
triadic
#3B2CAB #AB3B2C #2CAB3B
tetradic
#3B2CAB #AB2C5C #9CAB2C #2CAB7B
square
#3B2CAB #AB2C5C #9CAB2C #2CAB7B
split-complementary
#3B2CAB #AB7B2C #5CAB2C
monochromatic
#19134A #2A1F7A #3B2CAB #5545CF #8276DC

Accessibility & contrast

On white

9.84
#3B2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2CAB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2CAB#FFFFFF#000000##FFFFFF
##3B2CAB1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2cab;
/* rgb */ color: rgb(59, 44, 171);
/* oklch */ color: oklch(40.3% 0.191 278.8);
Tailwind
colors: {
  custom: {
    50: '#8067c5',
    500: '#3b2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3b2cab;
$custom-light: #8067c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2cab",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 247.087,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.1908,
    "h": 278.8
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#3B2CAB
secondary
#B9C36F
accent
#E246D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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