#3A29A4#3A29A4

#3A29A4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.185 H 279.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3A29A4
RGBrgb(58, 41, 164)
HSLhsl(248, 60%, 40%)
HSVhsv(248, 75%, 64%)
CMYKcmyk(64.6%, 75%, 0%, 35.7%)
CIE-LABlab(27.20, 43.67, -63.33)
CIE-LCHlch(27.20, 76.93, 304.59°)
OKLaboklab(39.15% 0.0314 -0.1828)
OKLCHoklch(39.15% 0.185 279.8)
XYZxyz(9.2366, 5.1650, 35.6250)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29A4 #93A429
analogous
#2955A4 #3A29A4 #7829A4
triadic
#3A29A4 #A43A29 #29A43A
tetradic
#3A29A4 #A42955 #93A429 #29A478
square
#3A29A4 #A42955 #93A429 #29A478
split-complementary
#3A29A4 #A47829 #55A429
monochromatic
#171142 #291D73 #3A29A4 #503CCE #7C6DDA

Accessibility & contrast

On white

10.33
#3A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29A4
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29A4#FFFFFF#000000##FFFFFF
##3A29A41.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a29a4;
/* rgb */ color: rgb(58, 41, 164);
/* oklch */ color: oklch(39.1% 0.185 279.8);
Tailwind
colors: {
  custom: {
    50: '#7e65c0',
    500: '#3a29a4',
    950: '#000000',
  },
}
SCSS
$custom: #3a29a4;
$custom-light: #7e65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29a4",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 248.293,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.18547,
    "h": 279.8
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#3A29A4
secondary
#B5C168
accent
#E345CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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