#3A29AB#3A29AB

#3A29AB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.194 H 278.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3A29AB
RGBrgb(58, 41, 171)
HSLhsl(248, 61%, 42%)
HSVhsv(248, 76%, 67%)
CMYKcmyk(66.1%, 76%, 0%, 32.9%)
CIE-LABlab(27.91, 45.87, -66.38)
CIE-LCHlch(27.91, 80.69, 304.64°)
OKLaboklab(39.87% 0.0298 -0.1917)
OKLCHoklch(39.87% 0.194 278.8)
XYZxyz(9.8862, 5.4249, 39.0463)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29AB #9AAB29
analogous
#2959AB #3A29AB #7B29AB
triadic
#3A29AB #AB3A29 #29AB3A
tetradic
#3A29AB #AB2959 #9AAB29 #29AB7B
square
#3A29AB #AB2959 #9AAB29 #29AB7B
split-complementary
#3A29AB #AB7B29 #59AB29
monochromatic
#191148 #291D7A #3A29AB #5340D1 #7F71DD

Accessibility & contrast

On white

10.07
#3A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29AB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29AB#FFFFFF#000000##FFFFFF
##3A29AB1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a29ab;
/* rgb */ color: rgb(58, 41, 171);
/* oklch */ color: oklch(39.9% 0.194 278.8);
Tailwind
colors: {
  custom: {
    50: '#8066c5',
    500: '#3a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a29ab;
$custom-light: #8066c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29ab",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 247.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.19398,
    "h": 278.8
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#3A29AB
secondary
#B9C46C
accent
#E443CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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