#3C21CA#3C21CA

#3C21CA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.5% C 0.236 H 276.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3C21CA
RGBrgb(60, 33, 202)
HSLhsl(250, 72%, 46%)
HSVhsv(250, 84%, 79%)
CMYKcmyk(70.3%, 83.7%, 0%, 20.8%)
CIE-LABlab(30.18, 58.97, -80.99)
CIE-LCHlch(30.18, 100.18, 306.06°)
OKLaboklab(42.48% 0.0276 -0.234)
OKLCHoklch(42.48% 0.236 276.7)
XYZxyz(13.0645, 6.3114, 56.3954)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C21CA #AFCA21
analogous
#215ACA #3C21CA #9021CA
triadic
#3C21CA #CA3C21 #21CA3C
tetradic
#3C21CA #CA215A #AFCA21 #21CA90
square
#3C21CA #CA215A #AFCA21 #21CA90
split-complementary
#3C21CA #CA9021 #5ACA21
monochromatic
#1D1061 #2C1895 #3C21CA #6047E1 #8D7CEA

Accessibility & contrast

On white

9.28
#3C21CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3C21CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C21CA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C21CA#FFFFFF#000000##FFFFFF
##3C21CA1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECE
Deuteranopia (green-blind)
#0040C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3c21ca;
/* rgb */ color: rgb(60, 33, 202);
/* oklch */ color: oklch(42.5% 0.236 276.7);
Tailwind
colors: {
  custom: {
    50: '#8864dc',
    500: '#3c21ca',
    950: '#000000',
  },
}
SCSS
$custom: #3c21ca;
$custom-light: #8864dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c21ca",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 249.586,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.23562,
    "h": 276.7
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#3C21CA
secondary
#C3D275
accent
#EF39D2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3C21CA

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

Preview Lab → · Contrast checker → · Palette generator →

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