#3B29B1#3B29B1

#3B29B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.201 H 278.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3B29B1
RGBrgb(59, 41, 177)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.7%, 76.8%, 0%, 30.6%)
CIE-LABlab(28.61, 47.84, -68.82)
CIE-LCHlch(28.61, 83.81, 304.80°)
OKLaboklab(40.57% 0.0297 -0.1988)
OKLCHoklch(40.57% 0.201 278.5)
XYZxyz(10.5298, 5.6891, 42.1297)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B29B1 #9FB129
analogous
#295BB1 #3B29B1 #7F29B1
triadic
#3B29B1 #B13B29 #29B13B
tetradic
#3B29B1 #B1295B #9FB129 #29B17F
square
#3B29B1 #B1295B #9FB129 #29B17F
split-complementary
#3B29B1 #B17F29 #5BB129
monochromatic
#1A124E #2A1D7F #3B29B1 #5744D4 #8375DF

Accessibility & contrast

On white

9.82
#3B29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B29B1
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B29B1#FFFFFF#000000##FFFFFF
##3B29B11.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b29b1;
/* rgb */ color: rgb(59, 41, 177);
/* oklch */ color: oklch(40.6% 0.201 278.5);
Tailwind
colors: {
  custom: {
    50: '#8166ca',
    500: '#3b29b1',
    950: '#000000',
  },
}
SCSS
$custom: #3b29b1;
$custom-light: #8166ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b29b1",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 247.941,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.20097,
    "h": 278.5
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#3B29B1
secondary
#BBC76F
accent
#E542D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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