#3C2D97#3C2D97

#3C2D97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.164 H 281.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3C2D97
RGBrgb(60, 45, 151)
HSLhsl(248, 54%, 38%)
HSVhsv(248, 70%, 59%)
CMYKcmyk(60.3%, 70.2%, 0%, 40.8%)
CIE-LABlab(26.94, 37.52, -55.84)
CIE-LCHlch(26.94, 67.27, 303.90°)
OKLaboklab(38.63% 0.0339 -0.1608)
OKLCHoklch(38.63% 0.164 281.9)
XYZxyz(8.3860, 5.0712, 29.8091)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2D97 #88972D
analogous
#2D5397 #3C2D97 #712D97
triadic
#3C2D97 #973C2D #2D973C
tetradic
#3C2D97 #972D53 #88972D #2D9771
square
#3C2D97 #972D53 #88972D #2D9771
split-complementary
#3C2D97 #97712D #53972D
monochromatic
#171139 #291F68 #3C2D97 #503CC5 #7A6BD3

Accessibility & contrast

On white

10.42
#3C2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2D97
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2D97#FFFFFF#000000##FFFFFF
##3C2D971.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c2d97;
/* rgb */ color: rgb(60, 45, 151);
/* oklch */ color: oklch(38.6% 0.164 281.9);
Tailwind
colors: {
  custom: {
    50: '#7c67b7',
    500: '#3c2d97',
    950: '#000000',
  },
}
SCSS
$custom: #3c2d97;
$custom-light: #7c67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2d97",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 248.491,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.16435,
    "h": 281.9
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#3C2D97
secondary
#AEBA66
accent
#DD4AC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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