#3C2A97#3C2A97

#3C2A97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.168 H 282.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3C2A97
RGBrgb(60, 42, 151)
HSLhsl(250, 56%, 38%)
HSVhsv(250, 72%, 59%)
CMYKcmyk(60.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(26.30, 39.26, -56.87)
CIE-LCHlch(26.30, 69.11, 304.62°)
OKLaboklab(38.17% 0.0364 -0.1638)
OKLCHoklch(38.17% 0.168 282.5)
XYZxyz(8.2756, 4.8504, 29.7723)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A97 #85972A
analogous
#2A4F97 #3C2A97 #722A97
triadic
#3C2A97 #973C2A #2A973C
tetradic
#3C2A97 #972A4F #85972A #2A9772
square
#3C2A97 #972A4F #85972A #2A9772
split-complementary
#3C2A97 #97722A #4F972A
monochromatic
#160F37 #291D67 #3C2A97 #4F37C7 #7967D5

Accessibility & contrast

On white

10.66
#3C2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3C2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A97
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A97#FFFFFF#000000##FFFFFF
##3C2A971.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c2a97;
/* rgb */ color: rgb(60, 42, 151);
/* oklch */ color: oklch(38.2% 0.168 282.5);
Tailwind
colors: {
  custom: {
    50: '#7d65b7',
    500: '#3c2a97',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a97;
$custom-light: #7d65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a97",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 249.908,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38173,
    "c": 0.16784,
    "h": 282.5
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#3C2A97
secondary
#ACBB62
accent
#E048C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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