#3821CA#3821CA

#3821CA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.2% C 0.237 H 275.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3821CA
RGBrgb(56, 33, 202)
HSLhsl(248, 72%, 46%)
HSVhsv(248, 84%, 79%)
CMYKcmyk(72.3%, 83.7%, 0%, 20.8%)
CIE-LABlab(29.89, 58.70, -81.48)
CIE-LCHlch(29.89, 100.42, 305.77°)
OKLaboklab(42.2% 0.022 -0.2355)
OKLCHoklch(42.2% 0.237 275.3)
XYZxyz(12.8319, 6.1915, 56.3845)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3821CA #B3CA21
analogous
#215ECA #3821CA #8C21CA
triadic
#3821CA #CA3821 #21CA38
tetradic
#3821CA #CA215E #B3CA21 #21CA8C
square
#3821CA #CA215E #B3CA21 #21CA8C
split-complementary
#3821CA #CA8C21 #5ECA21
monochromatic
#1B1061 #291895 #3821CA #5C47E1 #8B7CEA

Accessibility & contrast

On white

9.38
#3821CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3821CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3821CA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3821CA#FFFFFF#000000##FFFFFF
##3821CA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3821ca;
/* rgb */ color: rgb(56, 33, 202);
/* oklch */ color: oklch(42.2% 0.237 275.3);
Tailwind
colors: {
  custom: {
    50: '#8663dc',
    500: '#3821ca',
    950: '#000000',
  },
}
SCSS
$custom: #3821ca;
$custom-light: #8663dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3821ca",
  "rgb": {
    "r": 56,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 248.166,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.23655,
    "h": 275.3
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#3821CA
secondary
#C5D275
accent
#EF39D6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3821CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3821CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva