#3B2EA1#3B2EA1

#3B2EA1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.176 H 279.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3B2EA1
RGBrgb(59, 46, 161)
HSLhsl(247, 56%, 41%)
HSVhsv(247, 71%, 63%)
CMYKcmyk(63.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.00, 40.03, -60.20)
CIE-LCHlch(28.00, 72.29, 303.62°)
OKLaboklab(39.65% 0.0299 -0.1736)
OKLCHoklch(39.65% 0.176 279.8)
XYZxyz(9.2116, 5.4563, 34.2791)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EA1 #94A12E
analogous
#2E5AA1 #3B2EA1 #752EA1
triadic
#3B2EA1 #A13B2E #2EA13B
tetradic
#3B2EA1 #A12E5A #94A12E #2EA175
square
#3B2EA1 #A12E5A #94A12E #2EA175
split-complementary
#3B2EA1 #A1752E #5AA12E
monochromatic
#181342 #2A2071 #3B2EA1 #5243C9 #7E73D7

Accessibility & contrast

On white

10.04
#3B2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3B2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EA1
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EA1#FFFFFF#000000##FFFFFF
##3B2EA11.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2ea1;
/* rgb */ color: rgb(59, 46, 161);
/* oklch */ color: oklch(39.6% 0.176 279.8);
Tailwind
colors: {
  custom: {
    50: '#7e68be',
    500: '#3b2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ea1;
$custom-light: #7e68be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ea1",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 246.783,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.17619,
    "h": 279.8
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#3B2EA1
secondary
#B5BE6C
accent
#DF49CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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