#3B2C97#3B2C97

#3B2C97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.166 H 281.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3B2C97
RGBrgb(59, 44, 151)
HSLhsl(248, 55%, 38%)
HSVhsv(248, 71%, 59%)
CMYKcmyk(60.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.63, 37.95, -56.33)
CIE-LCHlch(26.63, 67.93, 303.97°)
OKLaboklab(38.39% 0.0333 -0.1623)
OKLCHoklch(38.39% 0.166 281.6)
XYZxyz(8.2885, 4.9650, 29.7937)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2C97 #88972C
analogous
#2C5297 #3B2C97 #702C97
triadic
#3B2C97 #973B2C #2C973B
tetradic
#3B2C97 #972C52 #88972C #2C9770
square
#3B2C97 #972C52 #88972C #2C9770
split-complementary
#3B2C97 #97702C #52972C
monochromatic
#161038 #281E68 #3B2C97 #4E3AC6 #796AD4

Accessibility & contrast

On white

10.54
#3B2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3B2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2C97
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2C97#FFFFFF#000000##FFFFFF
##3B2C971.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b2c97;
/* rgb */ color: rgb(59, 44, 151);
/* oklch */ color: oklch(38.4% 0.166 281.6);
Tailwind
colors: {
  custom: {
    50: '#7c67b7',
    500: '#3b2c97',
    950: '#000000',
  },
}
SCSS
$custom: #3b2c97;
$custom-light: #7c67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2c97",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 248.411,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.16569,
    "h": 281.6
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#3B2C97
secondary
#AEBA65
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3B2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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