#3B2EA5#3B2EA5

#3B2EA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.181 H 279.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3B2EA5
RGBrgb(59, 46, 165)
HSLhsl(247, 56%, 41%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(64.2%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.38, 41.32, -61.99)
CIE-LCHlch(28.38, 74.50, 303.68°)
OKLaboklab(40.04% 0.0292 -0.1789)
OKLCHoklch(40.04% 0.181 279.3)
XYZxyz(9.5700, 5.5997, 36.1665)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EA5 #98A52E
analogous
#2E5DA5 #3B2EA5 #772EA5
triadic
#3B2EA5 #A53B2E #2EA53B
tetradic
#3B2EA5 #A52E5D #98A52E #2EA577
square
#3B2EA5 #A52E5D #98A52E #2EA577
split-complementary
#3B2EA5 #A5772E #5DA52E
monochromatic
#191345 #2A2175 #3B2EA5 #5445CB #8075D8

Accessibility & contrast

On white

9.91
#3B2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EA5
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EA5#FFFFFF#000000##FFFFFF
##3B2EA51.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2ea5;
/* rgb */ color: rgb(59, 46, 165);
/* oklch */ color: oklch(40.0% 0.181 279.3);
Tailwind
colors: {
  custom: {
    50: '#7f68c1',
    500: '#3b2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ea5;
$custom-light: #7f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ea5",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 246.555,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.18125,
    "h": 279.3
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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