#3A29B9#3A29B9

#3A29B9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.211 H 277.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3A29B9
RGBrgb(58, 41, 185)
HSLhsl(247, 64%, 44%)
HSVhsv(247, 78%, 73%)
CMYKcmyk(68.6%, 77.8%, 0%, 27.5%)
CIE-LABlab(29.38, 50.20, -72.32)
CIE-LCHlch(29.38, 88.03, 304.76°)
OKLaboklab(41.33% 0.0263 -0.209)
OKLCHoklch(41.33% 0.211 277.2)
XYZxyz(11.2920, 5.9872, 46.4501)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B9 #A8B929
analogous
#2960B9 #3A29B9 #8229B9
triadic
#3A29B9 #B93A29 #29B93A
tetradic
#3A29B9 #B92960 #A8B929 #29B982
square
#3A29B9 #B92960 #A8B929 #29B982
split-complementary
#3A29B9 #B98229 #60B929
monochromatic
#1B1355 #2A1E87 #3A29B9 #5949D7 #877BE2

Accessibility & contrast

On white

9.56
#3A29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B9
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B9#FFFFFF#000000##FFFFFF
##3A29B91.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a29b9;
/* rgb */ color: rgb(58, 41, 185);
/* oklch */ color: oklch(41.3% 0.211 277.2);
Tailwind
colors: {
  custom: {
    50: '#8366cf',
    500: '#3a29b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b9;
$custom-light: #8366cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b9",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 247.083,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.21063,
    "h": 277.2
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#3A29B9
secondary
#C0CA74
accent
#E741D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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