#3820BB#3820BB

#3820BB is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.221 H 277.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3820BB
RGBrgb(56, 32, 187)
HSLhsl(249, 71%, 43%)
HSVhsv(249, 83%, 73%)
CMYKcmyk(70.1%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.01, 54.81, -75.78)
CIE-LCHlch(28.01, 93.52, 305.88°)
OKLaboklab(40.41% 0.0269 -0.2189)
OKLCHoklch(40.41% 0.221 277)
XYZxyz(11.1141, 5.4606, 47.4724)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3820BB #A3BB20
analogous
#2056BB #3820BB #8520BB
triadic
#3820BB #BB3820 #20BB38
tetradic
#3820BB #BB2056 #A3BB20 #20BB85
square
#3820BB #BB2056 #A3BB20 #20BB85
split-complementary
#3820BB #BB8520 #56BB20
monochromatic
#190E52 #281787 #3820BB #543BDD #826FE6

Accessibility & contrast

On white

10.04
#3820BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3820BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3820BB
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3820BB#FFFFFF#000000##FFFFFF
##3820BB1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3820bb;
/* rgb */ color: rgb(56, 32, 187);
/* oklch */ color: oklch(40.4% 0.221 277.0);
Tailwind
colors: {
  custom: {
    50: '#8362d1',
    500: '#3820bb',
    950: '#000000',
  },
}
SCSS
$custom: #3820bb;
$custom-light: #8362d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3820bb",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 249.29,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.22059,
    "h": 277
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#3820BB
secondary
#BDCD6A
accent
#EE3AD2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3820BB

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

Preview Lab → · Contrast checker → · Palette generator →

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