#3B2EA4#3B2EA4

#3B2EA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.180 H 279.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3B2EA4
RGBrgb(59, 46, 164)
HSLhsl(247, 56%, 41%)
HSVhsv(247, 72%, 64%)
CMYKcmyk(64%, 72%, 0%, 35.7%)
CIE-LABlab(28.28, 41.00, -61.55)
CIE-LCHlch(28.28, 73.95, 303.67°)
OKLaboklab(39.94% 0.0294 -0.1776)
OKLCHoklch(39.94% 0.18 279.4)
XYZxyz(9.4793, 5.5634, 35.6891)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EA4 #97A42E
analogous
#2E5CA4 #3B2EA4 #762EA4
triadic
#3B2EA4 #A43B2E #2EA43B
tetradic
#3B2EA4 #A42E5C #97A42E #2EA476
square
#3B2EA4 #A42E5C #97A42E #2EA476
split-complementary
#3B2EA4 #A4762E #5CA42E
monochromatic
#191344 #2A2174 #3B2EA4 #5345CB #7F74D8

Accessibility & contrast

On white

9.94
#3B2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3B2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EA4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EA4#FFFFFF#000000##FFFFFF
##3B2EA41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2ea4;
/* rgb */ color: rgb(59, 46, 164);
/* oklch */ color: oklch(39.9% 0.180 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e68c0',
    500: '#3b2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ea4;
$custom-light: #7e68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ea4",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 246.61,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3994,
    "c": 0.17999,
    "h": 279.4
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#3B2EA4
secondary
#B7C06E
accent
#DF48CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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