#3836AC#3836AC

#3836AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.182 H 275.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3836AC
RGBrgb(56, 54, 172)
HSLhsl(241, 52%, 44%)
HSVhsv(241, 69%, 67%)
CMYKcmyk(67.4%, 68.6%, 0%, 32.5%)
CIE-LABlab(30.54, 38.51, -62.67)
CIE-LCHlch(30.54, 73.56, 301.57°)
OKLaboklab(41.73% 0.0185 -0.1809)
OKLCHoklch(41.73% 0.182 275.8)
XYZxyz(10.3940, 6.4567, 39.7202)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3836AC #AAAC36
analogous
#366FAC #3836AC #7336AC
triadic
#3836AC #AC3836 #36AC38
tetradic
#3836AC #AC366F #AAAC36 #36AC73
square
#3836AC #AC366F #AAAC36 #36AC73
split-complementary
#3836AC #AC7336 #6FAC36
monochromatic
#1A194F #29277D #3836AC #5755CA #8584D8

Accessibility & contrast

On white

9.16
#3836AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3836AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3836AC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3836AC#FFFFFF#000000##FFFFFF
##3836AC1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3836ac;
/* rgb */ color: rgb(56, 54, 172);
/* oklch */ color: oklch(41.7% 0.182 275.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ec6',
    500: '#3836ac',
    950: '#000000',
  },
}
SCSS
$custom: #3836ac;
$custom-light: #7e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3836ac",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 241.017,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.18189,
    "h": 275.8
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#3836AC
secondary
#C1C27C
accent
#DC4CD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3836AC

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

Preview Lab → · Contrast checker → · Palette generator →

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