#3C2FA3#3C2FA3

#3C2FA3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.177 H 279.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA3
RGBrgb(60, 47, 163)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(63.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.48, 40.23, -60.62)
CIE-LCHlch(28.48, 72.75, 303.57°)
OKLaboklab(40.07% 0.0302 -0.1748)
OKLCHoklch(40.07% 0.177 279.8)
XYZxyz(9.4888, 5.6373, 35.2313)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA3 #96A32F
analogous
#2F5CA3 #3C2FA3 #762FA3
triadic
#3C2FA3 #A33C2F #2FA33C
tetradic
#3C2FA3 #A32F5C #96A32F #2FA376
square
#3C2FA3 #A32F5C #96A32F #2FA376
split-complementary
#3C2FA3 #A3762F #5CA32F
monochromatic
#191444 #2B2173 #3C2FA3 #5446CA #8075D7

Accessibility & contrast

On white

9.87
#3C2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2FA3
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA3#FFFFFF#000000##FFFFFF
##3C2FA31.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c2fa3;
/* rgb */ color: rgb(60, 47, 163);
/* oklch */ color: oklch(40.1% 0.177 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f69bf',
    500: '#3c2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa3;
$custom-light: #7f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa3",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 246.724,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.17742,
    "h": 279.8
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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