#3C2FA1#3C2FA1

#3C2FA1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.175 H 280.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA1
RGBrgb(60, 47, 161)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 63%)
CMYKcmyk(62.7%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.29, 39.58, -59.71)
CIE-LCHlch(28.29, 71.64, 303.54°)
OKLaboklab(39.88% 0.0306 -0.1722)
OKLCHoklch(39.88% 0.175 280.1)
XYZxyz(9.3110, 5.5662, 34.2950)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA1 #94A12F
analogous
#2F5BA1 #3C2FA1 #752FA1
triadic
#3C2FA1 #A13C2F #2FA13C
tetradic
#3C2FA1 #A12F5B #94A12F #2FA175
square
#3C2FA1 #A12F5B #94A12F #2FA175
split-complementary
#3C2FA1 #A1752F #5BA12F
monochromatic
#191342 #2A2172 #3C2FA1 #5445C9 #7F74D6

Accessibility & contrast

On white

9.94
#3C2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3C2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FA1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA1#FFFFFF#000000##FFFFFF
##3C2FA11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c2fa1;
/* rgb */ color: rgb(60, 47, 161);
/* oklch */ color: oklch(39.9% 0.175 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e69be',
    500: '#3c2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa1;
$custom-light: #7e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa1",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 246.842,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.17487,
    "h": 280.1
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#3C2FA1
secondary
#B5BE6E
accent
#DE4ACD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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