#3B2B95#3B2B95

#3B2B95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.164 H 282.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3B2B95
RGBrgb(59, 43, 149)
HSLhsl(249, 55%, 38%)
HSVhsv(249, 71%, 58%)
CMYKcmyk(60.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(26.24, 37.90, -55.76)
CIE-LCHlch(26.24, 67.42, 304.20°)
OKLaboklab(38.05% 0.0345 -0.1606)
OKLCHoklch(38.05% 0.164 282.1)
XYZxyz(8.0906, 4.8269, 28.9333)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2B95 #85952B
analogous
#2B5095 #3B2B95 #702B95
triadic
#3B2B95 #953B2B #2B953B
tetradic
#3B2B95 #952B50 #85952B #2B9570
square
#3B2B95 #952B50 #85952B #2B9570
split-complementary
#3B2B95 #95702B #50952B
monochromatic
#151036 #281D66 #3B2B95 #4E39C4 #7867D3

Accessibility & contrast

On white

10.68
#3B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3B2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2B95
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2B95#FFFFFF#000000##FFFFFF
##3B2B951.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b2b95;
/* rgb */ color: rgb(59, 43, 149);
/* oklch */ color: oklch(38.0% 0.164 282.1);
Tailwind
colors: {
  custom: {
    50: '#7c66b5',
    500: '#3b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #3b2b95;
$custom-light: #7c66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2b95",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 249.057,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38045,
    "c": 0.16429,
    "h": 282.1
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#3B2B95
secondary
#ACBA62
accent
#DF49C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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