#3C2FA2#3C2FA2

#3C2FA2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.176 H 279.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3C2FA2
RGBrgb(60, 47, 162)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(63%, 71%, 0%, 36.5%)
CIE-LABlab(28.38, 39.91, -60.17)
CIE-LCHlch(28.38, 72.20, 303.56°)
OKLaboklab(39.98% 0.0304 -0.1735)
OKLCHoklch(39.98% 0.176 279.9)
XYZxyz(9.3995, 5.6016, 34.7613)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA2 #95A22F
analogous
#2F5BA2 #3C2FA2 #752FA2
triadic
#3C2FA2 #A23C2F #2FA23C
tetradic
#3C2FA2 #A22F5B #95A22F #2FA275
square
#3C2FA2 #A22F5B #95A22F #2FA275
split-complementary
#3C2FA2 #A2752F #5BA22F
monochromatic
#191343 #2A2173 #3C2FA2 #5445C9 #8075D7

Accessibility & contrast

On white

9.90
#3C2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3C2FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FA2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA2#FFFFFF#000000##FFFFFF
##3C2FA21.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c2fa2;
/* rgb */ color: rgb(60, 47, 162);
/* oklch */ color: oklch(40.0% 0.176 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e69bf',
    500: '#3c2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa2;
$custom-light: #7e69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa2",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 246.783,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.17615,
    "h": 279.9
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#3C2FA2
secondary
#B6BF6E
accent
#DE49CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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