#3836AB#3836AB

#3836AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.181 H 275.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3836AB
RGBrgb(56, 54, 171)
HSLhsl(241, 52%, 44%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(67.3%, 68.4%, 0%, 32.9%)
CIE-LABlab(30.44, 38.17, -62.22)
CIE-LCHlch(30.44, 73.00, 301.53°)
OKLaboklab(41.63% 0.0186 -0.1796)
OKLCHoklch(41.63% 0.181 275.9)
XYZxyz(10.2983, 6.4185, 39.2164)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3836AB #A9AB36
analogous
#366FAB #3836AB #7336AB
triadic
#3836AB #AB3836 #36AB38
tetradic
#3836AB #AB366F #A9AB36 #36AB73
square
#3836AB #AB366F #A9AB36 #36AB73
split-complementary
#3836AB #AB7336 #6FAB36
monochromatic
#1A194E #29277C #3836AB #5755C9 #8583D8

Accessibility & contrast

On white

9.20
#3836AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3836AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3836AB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3836AB#FFFFFF#000000##FFFFFF
##3836AB1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3836ab;
/* rgb */ color: rgb(56, 54, 171);
/* oklch */ color: oklch(41.6% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ec5',
    500: '#3836ab',
    950: '#000000',
  },
}
SCSS
$custom: #3836ab;
$custom-light: #7e6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3836ab",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 241.026,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.1806,
    "h": 275.9
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#3836AB
secondary
#C0C27B
accent
#DB4CD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3836AB

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

Preview Lab → · Contrast checker → · Palette generator →

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