#3A29B2#3A29B2

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

Color values

HEX#3A29B2
RGBrgb(58, 41, 178)
HSLhsl(247, 63%, 43%)
HSVhsv(247, 77%, 70%)
CMYKcmyk(67.4%, 77%, 0%, 30.2%)
CIE-LABlab(28.64, 48.04, -69.37)
CIE-LCHlch(28.64, 84.38, 304.70°)
OKLaboklab(40.59% 0.0281 -0.2004)
OKLCHoklch(40.59% 0.202 278)
XYZxyz(10.5711, 5.6989, 42.6538)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B2 #A1B229
analogous
#295DB2 #3A29B2 #7E29B2
triadic
#3A29B2 #B23A29 #29B23A
tetradic
#3A29B2 #B2295D #A1B229 #29B27E
square
#3A29B2 #B2295D #A1B229 #29B27E
split-complementary
#3A29B2 #B27E29 #5DB229
monochromatic
#1A124F #2A1E80 #3A29B2 #5644D4 #8376DF

Accessibility & contrast

On white

9.81
#3A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A29B2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B2#FFFFFF#000000##FFFFFF
##3A29B21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a29b2;
/* rgb */ color: rgb(58, 41, 178);
/* oklch */ color: oklch(40.6% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#8166ca',
    500: '#3a29b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b2;
$custom-light: #8166ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b2",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 247.445,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.20237,
    "h": 278
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#3A29B2
secondary
#BCC770
accent
#E642D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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