#3820C1#3820C1

#3820C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.1% C 0.227 H 276.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3820C1
RGBrgb(56, 32, 193)
HSLhsl(249, 72%, 44%)
HSVhsv(249, 83%, 76%)
CMYKcmyk(71%, 83.4%, 0%, 24.3%)
CIE-LABlab(28.70, 56.54, -78.17)
CIE-LCHlch(28.70, 96.48, 305.88°)
OKLaboklab(41.08% 0.025 -0.2259)
OKLCHoklch(41.08% 0.227 276.3)
XYZxyz(11.7699, 5.7229, 50.9261)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820C1 #A9C120
analogous
#2059C1 #3820C1 #8920C1
triadic
#3820C1 #C13820 #20C138
tetradic
#3820C1 #C12059 #A9C120 #20C189
square
#3820C1 #C12059 #A9C120 #20C189
split-complementary
#3820C1 #C18920 #59C120
monochromatic
#1A0F58 #29178D #3820C1 #573FDF #8574E8

Accessibility & contrast

On white

9.79
#3820C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3820C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820C1
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820C1#FFFFFF#000000##FFFFFF
##3820C11.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003DBE
Tritanopia (blue-blind)
#005473
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3820c1;
/* rgb */ color: rgb(56, 32, 193);
/* oklch */ color: oklch(41.1% 0.227 276.3);
Tailwind
colors: {
  custom: {
    50: '#8462d5',
    500: '#3820c1',
    950: '#000000',
  },
}
SCSS
$custom: #3820c1;
$custom-light: #8462d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3820c1",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 193
  },
  "hsl": {
    "h": 248.944,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41084,
    "c": 0.22728,
    "h": 276.3
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#3820C1
secondary
#C0CF6E
accent
#EE3AD3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3820C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3820C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva