#3820C2#3820C2

#3820C2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.2% C 0.228 H 276.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3820C2
RGBrgb(56, 32, 194)
HSLhsl(249, 72%, 44%)
HSVhsv(249, 84%, 76%)
CMYKcmyk(71.1%, 83.5%, 0%, 23.9%)
CIE-LABlab(28.82, 56.82, -78.57)
CIE-LCHlch(28.82, 96.96, 305.87°)
OKLaboklab(41.2% 0.0247 -0.227)
OKLCHoklch(41.2% 0.228 276.2)
XYZxyz(11.8818, 5.7677, 51.5156)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820C2 #AAC220
analogous
#2059C2 #3820C2 #8920C2
triadic
#3820C2 #C23820 #20C238
tetradic
#3820C2 #C22059 #AAC220 #20C289
square
#3820C2 #C22059 #AAC220 #20C289
split-complementary
#3820C2 #C28920 #59C220
monochromatic
#1A0F59 #29178D #3820C2 #5740DF #8574E8

Accessibility & contrast

On white

9.75
#3820C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3820C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820C2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820C2#FFFFFF#000000##FFFFFF
##3820C21.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3820c2;
/* rgb */ color: rgb(56, 32, 194);
/* oklch */ color: oklch(41.2% 0.228 276.2);
Tailwind
colors: {
  custom: {
    50: '#8462d6',
    500: '#3820c2',
    950: '#000000',
  },
}
SCSS
$custom: #3820c2;
$custom-light: #8462d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3820c2",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 194
  },
  "hsl": {
    "h": 248.889,
    "s": 71.681,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.22839,
    "h": 276.2
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#3820C2
secondary
#C1CF6F
accent
#EE39D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3820C2

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

Preview Lab → · Contrast checker → · Palette generator →

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