#3836C2#3836C2

#3836C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.209 H 274.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3836C2
RGBrgb(56, 54, 194)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 76%)
CMYKcmyk(71.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(32.64, 45.85, -72.25)
CIE-LCHlch(32.64, 85.57, 302.40°)
OKLaboklab(43.88% 0.0151 -0.2089)
OKLCHoklch(43.88% 0.209 274.1)
XYZxyz(12.6844, 7.3729, 51.7831)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3836C2 #C0C236
analogous
#367AC2 #3836C2 #7E36C2
triadic
#3836C2 #C23836 #36C238
tetradic
#3836C2 #C2367A #C0C236 #36C27E
square
#3836C2 #C2367A #C0C236 #36C27E
split-complementary
#3836C2 #C27E36 #7AC236
monochromatic
#1C1B62 #2A2992 #3836C2 #6462D3 #9392E1

Accessibility & contrast

On white

8.49
#3836C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3836C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3836C2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3836C2#FFFFFF#000000##FFFFFF
##3836C21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3836c2;
/* rgb */ color: rgb(56, 54, 194);
/* oklch */ color: oklch(43.9% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#836fd6',
    500: '#3836c2',
    950: '#000000',
  },
}
SCSS
$custom: #3836c2;
$custom-light: #836fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3836c2",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 240.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.20948,
    "h": 274.1
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#3836C2
secondary
#CBCC88
accent
#E048DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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