#3B2EA7#3B2EA7

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

Color values

HEX#3B2EA7
RGBrgb(59, 46, 167)
HSLhsl(246, 57%, 42%)
HSVhsv(246, 72%, 65%)
CMYKcmyk(64.7%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.57, 41.97, -62.88)
CIE-LCHlch(28.57, 75.60, 303.72°)
OKLaboklab(40.23% 0.0288 -0.1815)
OKLCHoklch(40.23% 0.184 279)
XYZxyz(9.7534, 5.6730, 37.1327)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EA7 #9AA72E
analogous
#2E5EA7 #3B2EA7 #782EA7
triadic
#3B2EA7 #A73B2E #2EA73B
tetradic
#3B2EA7 #A72E5E #9AA72E #2EA778
square
#3B2EA7 #A72E5E #9AA72E #2EA778
split-complementary
#3B2EA7 #A7782E #5EA72E
monochromatic
#191447 #2A2177 #3B2EA7 #5546CC #8176D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B2EA7#FFFFFF#000000##FFFFFF
##3B2EA71.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)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2ea7;
/* rgb */ color: rgb(59, 46, 167);
/* oklch */ color: oklch(40.2% 0.184 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3b2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ea7;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ea7",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 246.446,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.18375,
    "h": 279
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#3B2EA7
secondary
#B8C170
accent
#E048D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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