#3C2DB2#3C2DB2

#3C2DB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.198 H 278.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3C2DB2
RGBrgb(60, 45, 178)
HSLhsl(247, 60%, 44%)
HSVhsv(247, 75%, 70%)
CMYKcmyk(66.3%, 74.7%, 0%, 30.2%)
CIE-LABlab(29.54, 46.14, -67.88)
CIE-LCHlch(29.54, 82.08, 304.21°)
OKLaboklab(41.27% 0.0285 -0.196)
OKLCHoklch(41.27% 0.198 278.3)
XYZxyz(10.8352, 6.0509, 42.7078)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2DB2 #A3B22D
analogous
#2D60B2 #3C2DB2 #7E2DB2
triadic
#3C2DB2 #B23C2D #2DB23C
tetradic
#3C2DB2 #B22D60 #A3B22D #2DB27E
square
#3C2DB2 #B22D60 #A3B22D #2DB27E
split-complementary
#3C2DB2 #B27E2D #60B22D
monochromatic
#1B1450 #2C2181 #3C2DB2 #5A4BD1 #877CDE

Accessibility & contrast

On white

9.50
#3C2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3C2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2DB2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2DB2#FFFFFF#000000##FFFFFF
##3C2DB21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3c2db2;
/* rgb */ color: rgb(60, 45, 178);
/* oklch */ color: oklch(41.3% 0.198 278.3);
Tailwind
colors: {
  custom: {
    50: '#8268ca',
    500: '#3c2db2',
    950: '#000000',
  },
}
SCSS
$custom: #3c2db2;
$custom-light: #8268ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2db2",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 246.767,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.19811,
    "h": 278.3
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#3C2DB2
secondary
#BDC675
accent
#E345D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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