#3A29C7#3A29C7

#3A29C7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.227 H 275.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3A29C7
RGBrgb(58, 41, 199)
HSLhsl(246, 66%, 47%)
HSVhsv(246, 79%, 78%)
CMYKcmyk(70.9%, 79.4%, 0%, 22%)
CIE-LABlab(30.90, 54.44, -78.06)
CIE-LCHlch(30.90, 95.16, 304.89°)
OKLaboklab(42.84% 0.0228 -0.2257)
OKLCHoklch(42.84% 0.227 275.8)
XYZxyz(12.8433, 6.6077, 54.6203)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29C7 #B6C729
analogous
#2967C7 #3A29C7 #8929C7
triadic
#3A29C7 #C73A29 #29C73A
tetradic
#3A29C7 #C72967 #B6C729 #29C789
square
#3A29C7 #C72967 #B6C729 #29C789
split-complementary
#3A29C7 #C78929 #67C729
monochromatic
#1C1462 #2B1F94 #3A29C7 #6152DB #8F85E6

Accessibility & contrast

On white

9.04
#3A29C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A29C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29C7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29C7#FFFFFF#000000##FFFFFF
##3A29C71.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a29c7;
/* rgb */ color: rgb(58, 41, 199);
/* oklch */ color: oklch(42.8% 0.227 275.8);
Tailwind
colors: {
  custom: {
    50: '#8667d9',
    500: '#3a29c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a29c7;
$custom-light: #8667d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29c7",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 199
  },
  "hsl": {
    "h": 246.456,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.2268,
    "h": 275.8
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#3A29C7
secondary
#C6CF7D
accent
#E93FD7
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A29C7

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

Preview Lab → · Contrast checker → · Palette generator →

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