#3B2D97#3B2D97

#3B2D97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.165 H 281.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3B2D97
RGBrgb(59, 45, 151)
HSLhsl(248, 54%, 38%)
HSVhsv(248, 70%, 59%)
CMYKcmyk(60.9%, 70.2%, 0%, 40.8%)
CIE-LABlab(26.85, 37.36, -55.98)
CIE-LCHlch(26.85, 67.31, 303.72°)
OKLaboklab(38.54% 0.0325 -0.1613)
OKLCHoklch(38.54% 0.165 281.4)
XYZxyz(8.3262, 5.0404, 29.8063)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2D97 #89972D
analogous
#2D5497 #3B2D97 #702D97
triadic
#3B2D97 #973B2D #2D973B
tetradic
#3B2D97 #972D54 #89972D #2D9770
square
#3B2D97 #972D54 #89972D #2D9770
split-complementary
#3B2D97 #97702D #54972D
monochromatic
#161139 #291F68 #3B2D97 #4E3CC5 #796BD3

Accessibility & contrast

On white

10.46
#3B2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3B2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2D97
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2D97#FFFFFF#000000##FFFFFF
##3B2D971.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b2d97;
/* rgb */ color: rgb(59, 45, 151);
/* oklch */ color: oklch(38.5% 0.165 281.4);
Tailwind
colors: {
  custom: {
    50: '#7c67b7',
    500: '#3b2d97',
    950: '#000000',
  },
}
SCSS
$custom: #3b2d97;
$custom-light: #7c67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2d97",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 247.925,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.16452,
    "h": 281.4
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#3B2D97
secondary
#AFBA66
accent
#DD4ACA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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