#3C2B97#3C2B97

#3C2B97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.167 H 282.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3C2B97
RGBrgb(60, 43, 151)
HSLhsl(249, 56%, 38%)
HSVhsv(249, 72%, 59%)
CMYKcmyk(60.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.51, 38.69, -56.53)
CIE-LCHlch(26.51, 68.50, 304.39°)
OKLaboklab(38.32% 0.0356 -0.1629)
OKLCHoklch(38.32% 0.167 282.3)
XYZxyz(8.3115, 4.9222, 29.7843)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2B97 #86972B
analogous
#2B5097 #3C2B97 #722B97
triadic
#3C2B97 #973C2B #2B973C
tetradic
#3C2B97 #972B50 #86972B #2B9772
square
#3C2B97 #972B50 #86972B #2B9772
split-complementary
#3C2B97 #97722B #50972B
monochromatic
#161038 #291D67 #3C2B97 #4F39C7 #7968D4

Accessibility & contrast

On white

10.58
#3C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3C2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2B97
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2B97#FFFFFF#000000##FFFFFF
##3C2B971.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c2b97;
/* rgb */ color: rgb(60, 43, 151);
/* oklch */ color: oklch(38.3% 0.167 282.3);
Tailwind
colors: {
  custom: {
    50: '#7d66b7',
    500: '#3c2b97',
    950: '#000000',
  },
}
SCSS
$custom: #3c2b97;
$custom-light: #7d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2b97",
  "rgb": {
    "r": 60,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 249.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.1667,
    "h": 282.3
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#3C2B97
secondary
#ADBB63
accent
#DF49C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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