#3C2A9E#3C2A9E

#3C2A9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.177 H 281.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3C2A9E
RGBrgb(60, 42, 158)
HSLhsl(249, 58%, 39%)
HSVhsv(249, 73%, 62%)
CMYKcmyk(62%, 73.4%, 0%, 38%)
CIE-LABlab(26.97, 41.48, -60.05)
CIE-LCHlch(26.97, 72.99, 304.64°)
OKLaboklab(38.85% 0.0349 -0.1731)
OKLCHoklch(38.85% 0.177 281.4)
XYZxyz(8.8611, 5.0846, 32.8556)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A9E #8C9E2A
analogous
#2A529E #3C2A9E #762A9E
triadic
#3C2A9E #9E3C2A #2A9E3C
tetradic
#3C2A9E #9E2A52 #8C9E2A #2A9E76
square
#3C2A9E #9E2A52 #8C9E2A #2A9E76
split-complementary
#3C2A9E #9E762A #529E2A
monochromatic
#17103D #2A1D6E #3C2A9E #513ACB #7C6BD8

Accessibility & contrast

On white

10.41
#3C2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3C2A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A9E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A9E#FFFFFF#000000##FFFFFF
##3C2A9E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c2a9e;
/* rgb */ color: rgb(60, 42, 158);
/* oklch */ color: oklch(38.9% 0.177 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e66bc',
    500: '#3c2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a9e;
$custom-light: #7e66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a9e",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 249.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38854,
    "c": 0.17664,
    "h": 281.4
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#3C2A9E
secondary
#B0BE66
accent
#E147C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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