#3C2FA7#3C2FA7

#3C2FA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.182 H 279.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA7
RGBrgb(60, 47, 167)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(64.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.86, 41.53, -62.41)
CIE-LCHlch(28.86, 74.96, 303.64°)
OKLaboklab(40.46% 0.0295 -0.1801)
OKLCHoklch(40.46% 0.182 279.3)
XYZxyz(9.8528, 5.7829, 37.1487)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA7 #9AA72F
analogous
#2F5EA7 #3C2FA7 #782FA7
triadic
#3C2FA7 #A73C2F #2FA73C
tetradic
#3C2FA7 #A72F5E #9AA72F #2FA778
square
#3C2FA7 #A72F5E #9AA72F #2FA778
split-complementary
#3C2FA7 #A7782F #5EA72F
monochromatic
#1A1447 #2B2277 #3C2FA7 #5648CB #8278D9

Accessibility & contrast

On white

9.74
#3C2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3C2FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FA7
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA7#FFFFFF#000000##FFFFFF
##3C2FA71.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2fa7;
/* rgb */ color: rgb(60, 47, 167);
/* oklch */ color: oklch(40.5% 0.182 279.3);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3c2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa7;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa7",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 246.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.18247,
    "h": 279.3
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#3C2FA7
secondary
#B8C171
accent
#DF48CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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