#3821AE#3821AE

#3821AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.205 H 278.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3821AE
RGBrgb(56, 33, 174)
HSLhsl(250, 68%, 41%)
HSVhsv(250, 81%, 68%)
CMYKcmyk(67.8%, 81%, 0%, 31.8%)
CIE-LABlab(26.69, 50.56, -70.21)
CIE-LCHlch(26.69, 86.52, 305.76°)
OKLaboklab(39.07% 0.0303 -0.2028)
OKLCHoklch(39.07% 0.205 278.5)
XYZxyz(9.8123, 4.9836, 40.4810)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3821AE #97AE21
analogous
#2151AE #3821AE #7E21AE
triadic
#3821AE #AE3821 #21AE38
tetradic
#3821AE #AE2151 #97AE21 #21AE7E
square
#3821AE #AE2151 #97AE21 #21AE7E
split-complementary
#3821AE #AE7E21 #51AE21
monochromatic
#170D47 #27177B #3821AE #4F34D8 #7B67E2

Accessibility & contrast

On white

10.52
#3821AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3821AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3821AE
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3821AE#FFFFFF#000000##FFFFFF
##3821AE1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3821ae;
/* rgb */ color: rgb(56, 33, 174);
/* oklch */ color: oklch(39.1% 0.205 278.5);
Tailwind
colors: {
  custom: {
    50: '#8061c8',
    500: '#3821ae',
    950: '#000000',
  },
}
SCSS
$custom: #3821ae;
$custom-light: #8061c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3821ae",
  "rgb": {
    "r": 56,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 249.787,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.20506,
    "h": 278.5
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#3821AE
secondary
#B7C863
accent
#EB3DCF
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3821AE

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

Preview Lab → · Contrast checker → · Palette generator →

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