#3B2FAA#3B2FAA

#3B2FAA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.186 H 278.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3B2FAA
RGBrgb(59, 47, 170)
HSLhsl(246, 57%, 43%)
HSVhsv(246, 72%, 67%)
CMYKcmyk(65.3%, 72.4%, 0%, 33.3%)
CIE-LABlab(29.07, 42.36, -63.87)
CIE-LCHlch(29.07, 76.65, 303.55°)
OKLaboklab(40.67% 0.0275 -0.1844)
OKLCHoklch(40.67% 0.186 278.5)
XYZxyz(10.0735, 5.8643, 38.6235)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FAA #9EAA2F
analogous
#2F60AA #3B2FAA #792FAA
triadic
#3B2FAA #AA3B2F #2FAA3B
tetradic
#3B2FAA #AA2F60 #9EAA2F #2FAA79
square
#3B2FAA #AA2F60 #9EAA2F #2FAA79
split-complementary
#3B2FAA #AA792F #60AA2F
monochromatic
#1A144A #2A227A #3B2FAA #5649CD #8379DA

Accessibility & contrast

On white

9.66
#3B2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FAA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FAA#FFFFFF#000000##FFFFFF
##3B2FAA1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2faa;
/* rgb */ color: rgb(59, 47, 170);
/* oklch */ color: oklch(40.7% 0.186 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f69c4',
    500: '#3b2faa',
    950: '#000000',
  },
}
SCSS
$custom: #3b2faa;
$custom-light: #7f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2faa",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 245.854,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.18643,
    "h": 278.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#3B2FAA
secondary
#BBC272
accent
#E048D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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