#3C2FA6#3C2FA6

#3C2FA6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.181 H 279.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA6
RGBrgb(60, 47, 166)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63.9%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.76, 41.20, -61.96)
CIE-LCHlch(28.76, 74.41, 303.62°)
OKLaboklab(40.36% 0.0297 -0.1788)
OKLCHoklch(40.36% 0.181 279.4)
XYZxyz(9.7607, 5.7461, 36.6637)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA6 #99A62F
analogous
#2F5DA6 #3C2FA6 #782FA6
triadic
#3C2FA6 #A63C2F #2FA63C
tetradic
#3C2FA6 #A62F5D #99A62F #2FA678
square
#3C2FA6 #A62F5D #99A62F #2FA678
split-complementary
#3C2FA6 #A6782F #5DA62F
monochromatic
#1A1447 #2B2176 #3C2FA6 #5647CB #8277D8

Accessibility & contrast

On white

9.77
#3C2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3C2FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FA6
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA6#FFFFFF#000000##FFFFFF
##3C2FA61.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2fa6;
/* rgb */ color: rgb(60, 47, 166);
/* oklch */ color: oklch(40.4% 0.181 279.4);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3c2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa6;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa6",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 246.555,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.18121,
    "h": 279.4
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#3C2FA6
secondary
#B8C170
accent
#DF49CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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