#3B2E97#3B2E97

#3B2E97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.163 H 281.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3B2E97
RGBrgb(59, 46, 151)
HSLhsl(247, 53%, 39%)
HSVhsv(247, 70%, 59%)
CMYKcmyk(60.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.07, 36.77, -55.63)
CIE-LCHlch(27.07, 66.68, 303.47°)
OKLaboklab(38.7% 0.0317 -0.1602)
OKLCHoklch(38.7% 0.163 281.2)
XYZxyz(8.3648, 5.1176, 29.8192)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2E97 #8A972E
analogous
#2E5597 #3B2E97 #6F2E97
triadic
#3B2E97 #973B2E #2E973B
tetradic
#3B2E97 #972E55 #8A972E #2E976F
square
#3B2E97 #972E55 #8A972E #2E976F
split-complementary
#3B2E97 #976F2E #55972E
monochromatic
#161139 #292068 #3B2E97 #4F3EC4 #796DD2

Accessibility & contrast

On white

10.38
#3B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3B2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2E97
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2E97#FFFFFF#000000##FFFFFF
##3B2E971.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b2e97;
/* rgb */ color: rgb(59, 46, 151);
/* oklch */ color: oklch(38.7% 0.163 281.2);
Tailwind
colors: {
  custom: {
    50: '#7c68b7',
    500: '#3b2e97',
    950: '#000000',
  },
}
SCSS
$custom: #3b2e97;
$custom-light: #7c68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2e97",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 247.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.16334,
    "h": 281.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#3B2E97
secondary
#AFBA67
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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