#3A29AE#3A29AE

#3A29AE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.2% C 0.198 H 278.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3A29AE
RGBrgb(58, 41, 174)
HSLhsl(248, 62%, 42%)
HSVhsv(248, 76%, 68%)
CMYKcmyk(66.7%, 76.4%, 0%, 31.8%)
CIE-LABlab(28.22, 46.80, -67.67)
CIE-LCHlch(28.22, 82.28, 304.67°)
OKLaboklab(40.18% 0.0291 -0.1954)
OKLCHoklch(40.18% 0.198 278.5)
XYZxyz(10.1754, 5.5406, 40.5694)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29AE #9DAE29
analogous
#295BAE #3A29AE #7C29AE
triadic
#3A29AE #AE3A29 #29AE3A
tetradic
#3A29AE #AE295B #9DAE29 #29AE7C
square
#3A29AE #AE295B #9DAE29 #29AE7C
split-complementary
#3A29AE #AE7C29 #5BAE29
monochromatic
#19124B #291D7C #3A29AE #5442D2 #8173DE

Accessibility & contrast

On white

9.96
#3A29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29AE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29AE#FFFFFF#000000##FFFFFF
##3A29AE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a29ae;
/* rgb */ color: rgb(58, 41, 174);
/* oklch */ color: oklch(40.2% 0.198 278.5);
Tailwind
colors: {
  custom: {
    50: '#8066c7',
    500: '#3a29ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a29ae;
$custom-light: #8066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29ae",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 247.669,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.19759,
    "h": 278.5
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#3A29AE
secondary
#BAC56D
accent
#E543D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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