#3C2FA4#3C2FA4

#3C2FA4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.179 H 279.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA4
RGBrgb(60, 47, 164)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(63.4%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.57, 40.56, -61.07)
CIE-LCHlch(28.57, 73.31, 303.59°)
OKLaboklab(40.17% 0.03 -0.1761)
OKLCHoklch(40.17% 0.179 279.7)
XYZxyz(9.5787, 5.6733, 35.7050)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA4 #97A42F
analogous
#2F5DA4 #3C2FA4 #772FA4
triadic
#3C2FA4 #A43C2F #2FA43C
tetradic
#3C2FA4 #A42F5D #97A42F #2FA477
square
#3C2FA4 #A42F5D #97A42F #2FA477
split-complementary
#3C2FA4 #A4772F #5DA42F
monochromatic
#191445 #2B2174 #3C2FA4 #5546CA #8176D8

Accessibility & contrast

On white

9.84
#3C2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3C2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FA4
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA4#FFFFFF#000000##FFFFFF
##3C2FA41.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c2fa4;
/* rgb */ color: rgb(60, 47, 164);
/* oklch */ color: oklch(40.2% 0.179 279.7);
Tailwind
colors: {
  custom: {
    50: '#7f69c0',
    500: '#3c2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa4;
$custom-light: #7f69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa4",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 246.667,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.17868,
    "h": 279.7
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#3C2FA4
secondary
#B7C06F
accent
#DF49CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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