#3B21CA#3B21CA

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

Color values

HEX#3B21CA
RGBrgb(59, 33, 202)
HSLhsl(249, 72%, 46%)
HSVhsv(249, 84%, 79%)
CMYKcmyk(70.8%, 83.7%, 0%, 20.8%)
CIE-LABlab(30.11, 58.90, -81.11)
CIE-LCHlch(30.11, 100.24, 305.98°)
OKLaboklab(42.41% 0.0262 -0.2344)
OKLCHoklch(42.41% 0.236 276.4)
XYZxyz(13.0047, 6.2806, 56.3926)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B21CA #B0CA21
analogous
#215BCA #3B21CA #8F21CA
triadic
#3B21CA #CA3B21 #21CA3B
tetradic
#3B21CA #CA215B #B0CA21 #21CA8F
square
#3B21CA #CA215B #B0CA21 #21CA8F
split-complementary
#3B21CA #CA8F21 #5BCA21
monochromatic
#1C1061 #2C1895 #3B21CA #5F47E1 #8D7CEA

Accessibility & contrast

On white

9.31
#3B21CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B21CA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B21CA#FFFFFF#000000##FFFFFF
##3B21CA1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b21ca;
/* rgb */ color: rgb(59, 33, 202);
/* oklch */ color: oklch(42.4% 0.236 276.4);
Tailwind
colors: {
  custom: {
    50: '#8763dc',
    500: '#3b21ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b21ca;
$custom-light: #8763dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b21ca",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 249.231,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.23585,
    "h": 276.4
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#3B21CA
secondary
#C3D275
accent
#EF39D3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3B21CA

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

Preview Lab → · Contrast checker → · Palette generator →

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