#3A29B6#3A29B6

#3A29B6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.207 H 277.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3A29B6
RGBrgb(58, 41, 182)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 77%, 71%)
CMYKcmyk(68.1%, 77.5%, 0%, 28.6%)
CIE-LABlab(29.06, 49.28, -71.06)
CIE-LCHlch(29.06, 86.47, 304.74°)
OKLaboklab(41.02% 0.0271 -0.2053)
OKLCHoklch(41.02% 0.207 277.5)
XYZxyz(10.9786, 5.8618, 44.7998)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B6 #A5B629
analogous
#295EB6 #3A29B6 #8029B6
triadic
#3A29B6 #B63A29 #29B63A
tetradic
#3A29B6 #B6295E #A5B629 #29B680
square
#3A29B6 #B6295E #A5B629 #29B680
split-complementary
#3A29B6 #B68029 #5EB629
monochromatic
#1A1252 #2A1E84 #3A29B6 #5847D5 #8579E1

Accessibility & contrast

On white

9.67
#3A29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B6
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B6#FFFFFF#000000##FFFFFF
##3A29B61.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a29b6;
/* rgb */ color: rgb(58, 41, 182);
/* oklch */ color: oklch(41.0% 0.207 277.5);
Tailwind
colors: {
  custom: {
    50: '#8266cd',
    500: '#3a29b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b6;
$custom-light: #8266cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b6",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 247.234,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.2071,
    "h": 277.5
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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