#3A29AA#3A29AA

#3A29AA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.193 H 279.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3A29AA
RGBrgb(58, 41, 170)
HSLhsl(248, 61%, 41%)
HSVhsv(248, 76%, 67%)
CMYKcmyk(65.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(27.81, 45.55, -65.95)
CIE-LCHlch(27.81, 80.15, 304.63°)
OKLaboklab(39.76% 0.03 -0.1904)
OKLCHoklch(39.76% 0.193 279)
XYZxyz(9.7912, 5.3869, 38.5462)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29AA #99AA29
analogous
#2959AA #3A29AA #7B29AA
triadic
#3A29AA #AA3A29 #29AA3A
tetradic
#3A29AA #AA2959 #99AA29 #29AA7B
square
#3A29AA #AA2959 #99AA29 #29AA7B
split-complementary
#3A29AA #AA7B29 #59AA29
monochromatic
#181147 #291D79 #3A29AA #533FD1 #7F71DD

Accessibility & contrast

On white

10.11
#3A29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29AA
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29AA#FFFFFF#000000##FFFFFF
##3A29AA1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a29aa;
/* rgb */ color: rgb(58, 41, 170);
/* oklch */ color: oklch(39.8% 0.193 279.0);
Tailwind
colors: {
  custom: {
    50: '#8066c5',
    500: '#3a29aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a29aa;
$custom-light: #8066c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29aa",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 247.907,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.19277,
    "h": 279
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#3A29AA
secondary
#B8C46B
accent
#E444CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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