#3C2CAB#3C2CAB

#3C2CAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.191 H 279.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3C2CAB
RGBrgb(60, 44, 171)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(64.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.65, 44.48, -65.17)
CIE-LCHlch(28.65, 78.90, 304.32°)
OKLaboklab(40.42% 0.0307 -0.1881)
OKLCHoklch(40.42% 0.191 279.3)
XYZxyz(10.1125, 5.7015, 39.0878)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2CAB #9BAB2C
analogous
#2C5CAB #3C2CAB #7C2CAB
triadic
#3C2CAB #AB3C2C #2CAB3C
tetradic
#3C2CAB #AB2C5C #9BAB2C #2CAB7C
square
#3C2CAB #AB2C5C #9BAB2C #2CAB7C
split-complementary
#3C2CAB #AB7C2C #5CAB2C
monochromatic
#1A134A #2B1F7A #3C2CAB #5645CF #8376DC

Accessibility & contrast

On white

9.81
#3C2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2CAB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2CAB#FFFFFF#000000##FFFFFF
##3C2CAB1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2cab;
/* rgb */ color: rgb(60, 44, 171);
/* oklch */ color: oklch(40.4% 0.191 279.3);
Tailwind
colors: {
  custom: {
    50: '#8068c5',
    500: '#3c2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3c2cab;
$custom-light: #8068c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2cab",
  "rgb": {
    "r": 60,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 247.559,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.1906,
    "h": 279.3
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#3C2CAB
secondary
#B9C36F
accent
#E246CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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