#3820B4#3820B4

#3820B4 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.213 H 277.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3820B4
RGBrgb(56, 32, 180)
HSLhsl(250, 70%, 42%)
HSVhsv(250, 82%, 71%)
CMYKcmyk(68.9%, 82.2%, 0%, 29.4%)
CIE-LABlab(27.21, 52.78, -72.94)
CIE-LCHlch(27.21, 90.03, 305.89°)
OKLaboklab(39.62% 0.029 -0.2107)
OKLCHoklch(39.62% 0.213 277.8)
XYZxyz(10.3830, 5.1681, 43.6215)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820B4 #9CB420
analogous
#2052B4 #3820B4 #8220B4
triadic
#3820B4 #B43820 #20B438
tetradic
#3820B4 #B42052 #9CB420 #20B482
square
#3820B4 #B42052 #9CB420 #20B482
split-complementary
#3820B4 #B48220 #52B420
monochromatic
#180E4C #281780 #3820B4 #5136DB #7E6AE4

Accessibility & contrast

On white

10.33
#3820B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3820B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820B4
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820B4#FFFFFF#000000##FFFFFF
##3820B41.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3820b4;
/* rgb */ color: rgb(56, 32, 180);
/* oklch */ color: oklch(39.6% 0.213 277.8);
Tailwind
colors: {
  custom: {
    50: '#8161cc',
    500: '#3820b4',
    950: '#000000',
  },
}
SCSS
$custom: #3820b4;
$custom-light: #8161cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3820b4",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 249.73,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.21269,
    "h": 277.8
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#3820B4
secondary
#BACA66
accent
#ED3BD0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3820B4

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

Preview Lab → · Contrast checker → · Palette generator →

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