#3B29C6#3B29C6

#3B29C6 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.225 H 276.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3B29C6
RGBrgb(59, 41, 198)
HSLhsl(247, 66%, 47%)
HSVhsv(247, 79%, 78%)
CMYKcmyk(70.2%, 79.3%, 0%, 22.4%)
CIE-LABlab(30.86, 54.22, -77.53)
CIE-LCHlch(30.86, 94.61, 304.97°)
OKLaboklab(42.8% 0.0243 -0.2241)
OKLCHoklch(42.8% 0.225 276.2)
XYZxyz(12.7863, 6.5917, 54.0136)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B29C6 #B4C629
analogous
#2966C6 #3B29C6 #8A29C6
triadic
#3B29C6 #C63B29 #29C63B
tetradic
#3B29C6 #C62966 #B4C629 #29C68A
square
#3B29C6 #C62966 #B4C629 #29C68A
split-complementary
#3B29C6 #C68A29 #66C629
monochromatic
#1D1461 #2C1F93 #3B29C6 #6151DB #8F84E6

Accessibility & contrast

On white

9.06
#3B29C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3B29C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B29C6
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B29C6#FFFFFF#000000##FFFFFF
##3B29C61.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCA
Deuteranopia (green-blind)
#0042C3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b29c6;
/* rgb */ color: rgb(59, 41, 198);
/* oklch */ color: oklch(42.8% 0.225 276.2);
Tailwind
colors: {
  custom: {
    50: '#8667d9',
    500: '#3b29c6',
    950: '#000000',
  },
}
SCSS
$custom: #3b29c6;
$custom-light: #8667d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b29c6",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 246.879,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.22543,
    "h": 276.2
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#3B29C6
secondary
#C5CF7C
accent
#E93FD5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3B29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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