#3B2CA1#3B2CA1

#3B2CA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.178 H 280.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3B2CA1
RGBrgb(59, 44, 161)
HSLhsl(248, 57%, 40%)
HSVhsv(248, 73%, 63%)
CMYKcmyk(63.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.58, 41.18, -60.88)
CIE-LCHlch(27.58, 73.50, 304.07°)
OKLaboklab(39.35% 0.0314 -0.1756)
OKLCHoklch(39.35% 0.178 280.1)
XYZxyz(9.1353, 5.3037, 34.2536)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2CA1 #92A12C
analogous
#2C58A1 #3B2CA1 #752CA1
triadic
#3B2CA1 #A13B2C #2CA13B
tetradic
#3B2CA1 #A12C58 #92A12C #2CA175
square
#3B2CA1 #A12C58 #92A12C #2CA175
split-complementary
#3B2CA1 #A1752C #58A12C
monochromatic
#181241 #291F71 #3B2CA1 #5140CB #7D70D8

Accessibility & contrast

On white

10.19
#3B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3B2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2CA1
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2CA1#FFFFFF#000000##FFFFFF
##3B2CA11.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b2ca1;
/* rgb */ color: rgb(59, 44, 161);
/* oklch */ color: oklch(39.4% 0.178 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e67be',
    500: '#3b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ca1;
$custom-light: #7e67be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ca1",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 247.692,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.1784,
    "h": 280.1
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#3B2CA1
secondary
#B4BF6A
accent
#E047CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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