#3A29B7#3A29B7

#3A29B7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.208 H 277.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3A29B7
RGBrgb(58, 41, 183)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 78%, 72%)
CMYKcmyk(68.3%, 77.6%, 0%, 28.2%)
CIE-LABlab(29.17, 49.58, -71.48)
CIE-LCHlch(29.17, 86.99, 304.75°)
OKLaboklab(41.12% 0.0268 -0.2065)
OKLCHoklch(41.12% 0.208 277.4)
XYZxyz(11.0823, 5.9033, 45.3460)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B7 #A6B729
analogous
#295FB7 #3A29B7 #8129B7
triadic
#3A29B7 #B73A29 #29B73A
tetradic
#3A29B7 #B7295F #A6B729 #29B781
square
#3A29B7 #B7295F #A6B729 #29B781
split-complementary
#3A29B7 #B78129 #5FB729
monochromatic
#1A1353 #2A1E85 #3A29B7 #5847D6 #8679E1

Accessibility & contrast

On white

9.63
#3A29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B7
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B7#FFFFFF#000000##FFFFFF
##3A29B71.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a29b7;
/* rgb */ color: rgb(58, 41, 183);
/* oklch */ color: oklch(41.1% 0.208 277.4);
Tailwind
colors: {
  custom: {
    50: '#8266ce',
    500: '#3a29b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b7;
$custom-light: #8266ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b7",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 247.183,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.20828,
    "h": 277.4
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#3A29B7
secondary
#BFC973
accent
#E641D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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