#3C2CAC#3C2CAC

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

Color values

HEX#3C2CAC
RGBrgb(60, 44, 172)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(65.1%, 74.4%, 0%, 32.5%)
CIE-LABlab(28.75, 44.80, -65.60)
CIE-LCHlch(28.75, 79.44, 304.33°)
OKLaboklab(40.53% 0.0305 -0.1894)
OKLCHoklch(40.53% 0.192 279.1)
XYZxyz(10.2082, 5.7398, 39.5917)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2CAC #9CAC2C
analogous
#2C5CAC #3C2CAC #7C2CAC
triadic
#3C2CAC #AC3C2C #2CAC3C
tetradic
#3C2CAC #AC2C5C #9CAC2C #2CAC7C
square
#3C2CAC #AC2C5C #9CAC2C #2CAC7C
split-complementary
#3C2CAC #AC7C2C #5CAC2C
monochromatic
#1A134B #2B207B #3C2CAC #5746D0 #8376DC

Accessibility & contrast

On white

9.78
#3C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3C2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2CAC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2CAC#FFFFFF#000000##FFFFFF
##3C2CAC1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2cac;
/* rgb */ color: rgb(60, 44, 172);
/* oklch */ color: oklch(40.5% 0.192 279.1);
Tailwind
colors: {
  custom: {
    50: '#8168c6',
    500: '#3c2cac',
    950: '#000000',
  },
}
SCSS
$custom: #3c2cac;
$custom-light: #8168c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2cac",
  "rgb": {
    "r": 60,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 247.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.19182,
    "h": 279.1
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#3C2CAC
secondary
#B9C470
accent
#E245CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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