#3C2AA2#3C2AA2

#3C2AA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.182 H 280.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3C2AA2
RGBrgb(60, 42, 162)
HSLhsl(249, 59%, 40%)
HSVhsv(249, 74%, 64%)
CMYKcmyk(63%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.36, 42.75, -61.84)
CIE-LCHlch(27.36, 75.18, 304.65°)
OKLaboklab(39.25% 0.0341 -0.1784)
OKLCHoklch(39.25% 0.182 280.8)
XYZxyz(9.2110, 5.2245, 34.6985)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2AA2 #90A22A
analogous
#2A54A2 #3C2AA2 #782AA2
triadic
#3C2AA2 #A23C2A #2AA23C
tetradic
#3C2AA2 #A22A54 #90A22A #2AA278
square
#3C2AA2 #A22A54 #90A22A #2AA278
split-complementary
#3C2AA2 #A2782A #54A22A
monochromatic
#181141 #2A1D71 #3C2AA2 #523DCD #7D6DD9

Accessibility & contrast

On white

10.27
#3C2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3C2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2AA2
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2AA2#FFFFFF#000000##FFFFFF
##3C2AA21.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c2aa2;
/* rgb */ color: rgb(60, 42, 162);
/* oklch */ color: oklch(39.2% 0.182 280.8);
Tailwind
colors: {
  custom: {
    50: '#7f66bf',
    500: '#3c2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3c2aa2;
$custom-light: #7f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2aa2",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 249,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.1816,
    "h": 280.8
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#3C2AA2
secondary
#B3C068
accent
#E246CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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