#3B2DA7#3B2DA7

#3B2DA7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.185 H 279.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3B2DA7
RGBrgb(59, 45, 167)
HSLhsl(247, 58%, 42%)
HSVhsv(247, 73%, 65%)
CMYKcmyk(64.7%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.37, 42.53, -63.22)
CIE-LCHlch(28.37, 76.19, 303.93°)
OKLaboklab(40.09% 0.0295 -0.1824)
OKLCHoklch(40.09% 0.185 279.2)
XYZxyz(9.7148, 5.5958, 37.1199)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2DA7 #99A72D
analogous
#2D5CA7 #3B2DA7 #782DA7
triadic
#3B2DA7 #A73B2D #2DA73B
tetradic
#3B2DA7 #A72D5C #99A72D #2DA778
square
#3B2DA7 #A72D5C #99A72D #2DA778
split-complementary
#3B2DA7 #A7782D #5CA72D
monochromatic
#191347 #2A2077 #3B2DA7 #5444CD #8075DA

Accessibility & contrast

On white

9.91
#3B2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B2DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2DA7
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2DA7#FFFFFF#000000##FFFFFF
##3B2DA71.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2da7;
/* rgb */ color: rgb(59, 45, 167);
/* oklch */ color: oklch(40.1% 0.185 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f68c2',
    500: '#3b2da7',
    950: '#000000',
  },
}
SCSS
$custom: #3b2da7;
$custom-light: #7f68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2da7",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 246.885,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.18482,
    "h": 279.2
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#3B2DA7
secondary
#B8C16E
accent
#E147CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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