#3B2FA5#3B2FA5

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

Color values

HEX#3B2FA5
RGBrgb(59, 47, 165)
HSLhsl(246, 56%, 42%)
HSVhsv(246, 72%, 65%)
CMYKcmyk(64.2%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.59, 40.74, -61.65)
CIE-LCHlch(28.59, 73.90, 303.46°)
OKLaboklab(40.19% 0.0285 -0.1779)
OKLCHoklch(40.19% 0.18 279.1)
XYZxyz(9.6095, 5.6787, 36.1797)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA5 #99A52F
analogous
#2F5EA5 #3B2FA5 #762FA5
triadic
#3B2FA5 #A53B2F #2FA53B
tetradic
#3B2FA5 #A52F5E #99A52F #2FA576
square
#3B2FA5 #A52F5E #99A52F #2FA576
split-complementary
#3B2FA5 #A5762F #5EA52F
monochromatic
#191446 #2A2175 #3B2FA5 #5447CB #8076D8

Accessibility & contrast

On white

9.83
#3B2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B2FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FA5
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA5#FFFFFF#000000##FFFFFF
##3B2FA51.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b2fa5;
/* rgb */ color: rgb(59, 47, 165);
/* oklch */ color: oklch(40.2% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#7e69c1',
    500: '#3b2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa5;
$custom-light: #7e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa5",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 246.102,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.18015,
    "h": 279.1
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#3B2FA5
secondary
#B8C070
accent
#DF49D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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