#3B2D95#3B2D95

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

Color values

HEX#3B2D95
RGBrgb(59, 45, 149)
HSLhsl(248, 54%, 38%)
HSVhsv(248, 70%, 58%)
CMYKcmyk(60.4%, 69.8%, 0%, 41.6%)
CIE-LABlab(26.67, 36.71, -55.06)
CIE-LCHlch(26.67, 66.17, 303.70°)
OKLaboklab(38.35% 0.0328 -0.1586)
OKLCHoklch(38.35% 0.162 281.7)
XYZxyz(8.1651, 4.9759, 28.9581)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2D95 #87952D
analogous
#2D5395 #3B2D95 #6F2D95
triadic
#3B2D95 #953B2D #2D953B
tetradic
#3B2D95 #952D53 #87952D #2D956F
square
#3B2D95 #952D53 #87952D #2D956F
split-complementary
#3B2D95 #956F2D #53952D
monochromatic
#161137 #281F66 #3B2D95 #4E3BC4 #786AD2

Accessibility & contrast

On white

10.52
#3B2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3B2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2D95
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2D95#FFFFFF#000000##FFFFFF
##3B2D951.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b2d95;
/* rgb */ color: rgb(59, 45, 149);
/* oklch */ color: oklch(38.4% 0.162 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b67b5',
    500: '#3b2d95',
    950: '#000000',
  },
}
SCSS
$custom: #3b2d95;
$custom-light: #7b67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2d95",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 248.077,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.16192,
    "h": 281.7
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#3B2D95
secondary
#AEB965
accent
#DD4BC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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