#3C2AA6#3C2AA6

#3C2AA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.187 H 280.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3C2AA6
RGBrgb(60, 42, 166)
HSLhsl(249, 60%, 41%)
HSVhsv(249, 75%, 65%)
CMYKcmyk(63.9%, 74.7%, 0%, 34.9%)
CIE-LABlab(27.76, 44.00, -63.61)
CIE-LCHlch(27.76, 77.35, 304.67°)
OKLaboklab(39.65% 0.0332 -0.1835)
OKLCHoklch(39.65% 0.187 280.2)
XYZxyz(9.5722, 5.3690, 36.6009)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2AA6 #94A62A
analogous
#2A56A6 #3C2AA6 #7A2AA6
triadic
#3C2AA6 #A63C2A #2AA63C
tetradic
#3C2AA6 #A62A56 #94A62A #2AA67A
square
#3C2AA6 #A62A56 #94A62A #2AA67A
split-complementary
#3C2AA6 #A67A2A #56A62A
monochromatic
#191144 #2A1E75 #3C2AA6 #543FCE #7F70DB

Accessibility & contrast

On white

10.13
#3C2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3C2AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2AA6
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2AA6#FFFFFF#000000##FFFFFF
##3C2AA61.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c2aa6;
/* rgb */ color: rgb(60, 42, 166);
/* oklch */ color: oklch(39.6% 0.187 280.2);
Tailwind
colors: {
  custom: {
    50: '#8066c2',
    500: '#3c2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #3c2aa6;
$custom-light: #8066c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2aa6",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 248.71,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.18652,
    "h": 280.2
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#3C2AA6
secondary
#B5C26A
accent
#E345CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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