#3C29B0#3C29B0

#3C29B0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.200 H 279.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3C29B0
RGBrgb(60, 41, 176)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(65.9%, 76.7%, 0%, 31%)
CIE-LABlab(28.59, 47.64, -68.25)
CIE-LCHlch(28.59, 83.23, 304.91°)
OKLaboklab(40.54% 0.0314 -0.1971)
OKLCHoklch(40.54% 0.2 279)
XYZxyz(10.4904, 5.6803, 41.6095)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C29B0 #9DB029
analogous
#295AB0 #3C29B0 #7F29B0
triadic
#3C29B0 #B03C29 #29B03C
tetradic
#3C29B0 #B0295A #9DB029 #29B07F
square
#3C29B0 #B0295A #9DB029 #29B07F
split-complementary
#3C29B0 #B07F29 #5AB029
monochromatic
#1A124D #2B1D7E #3C29B0 #5743D3 #8475DF

Accessibility & contrast

On white

9.83
#3C29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C29B0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C29B0#FFFFFF#000000##FFFFFF
##3C29B01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c29b0;
/* rgb */ color: rgb(60, 41, 176);
/* oklch */ color: oklch(40.5% 0.200 279.0);
Tailwind
colors: {
  custom: {
    50: '#8266c9',
    500: '#3c29b0',
    950: '#000000',
  },
}
SCSS
$custom: #3c29b0;
$custom-light: #8266c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c29b0",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 248.444,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.19957,
    "h": 279
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#3C29B0
secondary
#BAC66F
accent
#E543CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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