#3C29A5#3C29A5

#3C29A5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.186 H 280.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3C29A5
RGBrgb(60, 41, 165)
HSLhsl(249, 60%, 40%)
HSVhsv(249, 75%, 65%)
CMYKcmyk(63.6%, 75.2%, 0%, 35.3%)
CIE-LABlab(27.47, 44.23, -63.49)
CIE-LCHlch(27.47, 77.37, 304.86°)
OKLaboklab(39.41% 0.0341 -0.1832)
OKLCHoklch(39.41% 0.186 280.5)
XYZxyz(9.4458, 5.2624, 36.1080)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C29A5 #92A529
analogous
#2954A5 #3C29A5 #7A29A5
triadic
#3C29A5 #A53C29 #29A53C
tetradic
#3C29A5 #A52954 #92A529 #29A57A
square
#3C29A5 #A52954 #92A529 #29A57A
split-complementary
#3C29A5 #A57A29 #54A529
monochromatic
#181143 #2A1D74 #3C29A5 #533DCF #7E6EDB

Accessibility & contrast

On white

10.23
#3C29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3C29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C29A5
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C29A5#FFFFFF#000000##FFFFFF
##3C29A51.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c29a5;
/* rgb */ color: rgb(60, 41, 165);
/* oklch */ color: oklch(39.4% 0.186 280.5);
Tailwind
colors: {
  custom: {
    50: '#7f65c1',
    500: '#3c29a5',
    950: '#000000',
  },
}
SCSS
$custom: #3c29a5;
$custom-light: #7f65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c29a5",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 249.194,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.18632,
    "h": 280.5
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#3C29A5
secondary
#B4C268
accent
#E344CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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