#3C29A2#3C29A2

#3C29A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.183 H 281.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3C29A2
RGBrgb(60, 41, 162)
HSLhsl(249, 60%, 40%)
HSVhsv(249, 75%, 64%)
CMYKcmyk(63%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.17, 43.29, -62.16)
CIE-LCHlch(27.17, 75.75, 304.85°)
OKLaboklab(39.11% 0.0348 -0.1793)
OKLCHoklch(39.11% 0.183 281)
XYZxyz(9.1759, 5.1545, 34.6868)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C29A2 #8FA229
analogous
#2953A2 #3C29A2 #7829A2
triadic
#3C29A2 #A23C29 #29A23C
tetradic
#3C29A2 #A22953 #8FA229 #29A278
square
#3C29A2 #A22953 #8FA229 #29A278
split-complementary
#3C29A2 #A27829 #53A229
monochromatic
#181040 #2A1D71 #3C29A2 #523BCD #7D6CDA

Accessibility & contrast

On white

10.34
#3C29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3C29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C29A2
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C29A2#FFFFFF#000000##FFFFFF
##3C29A21.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c29a2;
/* rgb */ color: rgb(60, 41, 162);
/* oklch */ color: oklch(39.1% 0.183 281.0);
Tailwind
colors: {
  custom: {
    50: '#7f65bf',
    500: '#3c29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3c29a2;
$custom-light: #7f65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c29a2",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 249.421,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.18265,
    "h": 281
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#3C29A2
secondary
#B2C067
accent
#E345CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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