#3B2EA6#3B2EA6

#3B2EA6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.182 H 279.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3B2EA6
RGBrgb(59, 46, 166)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(64.5%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.48, 41.64, -62.44)
CIE-LCHlch(28.48, 75.05, 303.70°)
OKLaboklab(40.14% 0.029 -0.1802)
OKLCHoklch(40.14% 0.183 279.1)
XYZxyz(9.6614, 5.6362, 36.6478)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EA6 #99A62E
analogous
#2E5DA6 #3B2EA6 #772EA6
triadic
#3B2EA6 #A63B2E #2EA63B
tetradic
#3B2EA6 #A62E5D #99A62E #2EA677
square
#3B2EA6 #A62E5D #99A62E #2EA677
split-complementary
#3B2EA6 #A6772E #5DA62E
monochromatic
#191346 #2A2176 #3B2EA6 #5446CC #8076D9

Accessibility & contrast

On white

9.87
#3B2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2EA6
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EA6#FFFFFF#000000##FFFFFF
##3B2EA61.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2ea6;
/* rgb */ color: rgb(59, 46, 166);
/* oklch */ color: oklch(40.1% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f68c2',
    500: '#3b2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ea6;
$custom-light: #7f68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ea6",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 246.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.1825,
    "h": 279.1
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#3B2EA6
secondary
#B8C16F
accent
#E048CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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