#3D21CA#3D21CA

#3D21CA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.6% C 0.235 H 277.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3D21CA
RGBrgb(61, 33, 202)
HSLhsl(250, 72%, 46%)
HSVhsv(250, 84%, 79%)
CMYKcmyk(69.8%, 83.7%, 0%, 20.8%)
CIE-LABlab(30.26, 59.04, -80.86)
CIE-LCHlch(30.26, 100.12, 306.13°)
OKLaboklab(42.55% 0.029 -0.2336)
OKLCHoklch(42.55% 0.235 277.1)
XYZxyz(13.1255, 6.3429, 56.3982)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D21CA #AECA21
analogous
#2159CA #3D21CA #9121CA
triadic
#3D21CA #CA3D21 #21CA3D
tetradic
#3D21CA #CA2159 #AECA21 #21CA91
square
#3D21CA #CA2159 #AECA21 #21CA91
split-complementary
#3D21CA #CA9121 #59CA21
monochromatic
#1D1061 #2D1895 #3D21CA #6147E1 #8E7CEA

Accessibility & contrast

On white

9.26
#3D21CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3D21CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D21CA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D21CA#FFFFFF#000000##FFFFFF
##3D21CA1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.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: #3d21ca;
/* rgb */ color: rgb(61, 33, 202);
/* oklch */ color: oklch(42.6% 0.235 277.1);
Tailwind
colors: {
  custom: {
    50: '#8864dc',
    500: '#3d21ca',
    950: '#000000',
  },
}
SCSS
$custom: #3d21ca;
$custom-light: #8864dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d21ca",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 249.941,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.23539,
    "h": 277.1
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#3D21CA
secondary
#C2D275
accent
#EF39D1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3D21CA

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

Preview Lab → · Contrast checker → · Palette generator →

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