#3C29B1#3C29B1

#3C29B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.201 H 278.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3C29B1
RGBrgb(60, 41, 177)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.1%, 76.8%, 0%, 30.6%)
CIE-LABlab(28.69, 47.94, -68.68)
CIE-LCHlch(28.69, 83.76, 304.92°)
OKLaboklab(40.64% 0.0311 -0.1983)
OKLCHoklch(40.64% 0.201 278.9)
XYZxyz(10.5897, 5.7200, 42.1325)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C29B1 #9EB129
analogous
#295AB1 #3C29B1 #8029B1
triadic
#3C29B1 #B13C29 #29B13C
tetradic
#3C29B1 #B1295A #9EB129 #29B180
square
#3C29B1 #B1295A #9EB129 #29B180
split-complementary
#3C29B1 #B18029 #5AB129
monochromatic
#1A124E #2B1D7F #3C29B1 #5844D4 #8475DF

Accessibility & contrast

On white

9.79
#3C29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3C29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C29B1
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C29B1#FFFFFF#000000##FFFFFF
##3C29B11.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c29b1;
/* rgb */ color: rgb(60, 41, 177);
/* oklch */ color: oklch(40.6% 0.201 278.9);
Tailwind
colors: {
  custom: {
    50: '#8266ca',
    500: '#3c29b1',
    950: '#000000',
  },
}
SCSS
$custom: #3c29b1;
$custom-light: #8266ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c29b1",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 248.382,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.20077,
    "h": 278.9
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#3C29B1
secondary
#BAC76F
accent
#E542CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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