#3A29B5#3A29B5

#3A29B5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.206 H 277.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3A29B5
RGBrgb(58, 41, 181)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 77%, 71%)
CMYKcmyk(68%, 77.3%, 0%, 29%)
CIE-LABlab(28.96, 48.97, -70.64)
CIE-LCHlch(28.96, 85.95, 304.73°)
OKLaboklab(40.91% 0.0273 -0.2041)
OKLCHoklch(40.91% 0.206 277.6)
XYZxyz(10.8756, 5.8207, 44.2575)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B5 #A4B529
analogous
#295EB5 #3A29B5 #8029B5
triadic
#3A29B5 #B53A29 #29B53A
tetradic
#3A29B5 #B5295E #A4B529 #29B580
square
#3A29B5 #B5295E #A4B529 #29B580
split-complementary
#3A29B5 #B58029 #5EB529
monochromatic
#1A1251 #2A1E83 #3A29B5 #5746D5 #8578E0

Accessibility & contrast

On white

9.70
#3A29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B5#FFFFFF#000000##FFFFFF
##3A29B51.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a29b5;
/* rgb */ color: rgb(58, 41, 181);
/* oklch */ color: oklch(40.9% 0.206 277.6);
Tailwind
colors: {
  custom: {
    50: '#8266cc',
    500: '#3a29b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b5;
$custom-light: #8266cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b5",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 247.286,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.20592,
    "h": 277.6
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#3A29B5
secondary
#BEC872
accent
#E642D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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