#3836AA#3836AA

#3836AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.179 H 276.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3836AA
RGBrgb(56, 54, 170)
HSLhsl(241, 52%, 44%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(67.1%, 68.2%, 0%, 33.3%)
CIE-LABlab(30.35, 37.84, -61.77)
CIE-LCHlch(30.35, 72.44, 301.49°)
OKLaboklab(41.54% 0.0187 -0.1783)
OKLCHoklch(41.54% 0.179 276)
XYZxyz(10.2034, 6.3805, 38.7163)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3836AA #A8AA36
analogous
#366EAA #3836AA #7236AA
triadic
#3836AA #AA3836 #36AA38
tetradic
#3836AA #AA366E #A8AA36 #36AA72
square
#3836AA #AA366E #A8AA36 #36AA72
split-complementary
#3836AA #AA7236 #6EAA36
monochromatic
#19184D #29277C #3836AA #5654C9 #8483D8

Accessibility & contrast

On white

9.23
#3836AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3836AA#FFFFFF#000000##FFFFFF
##3836AA1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3836aa;
/* rgb */ color: rgb(56, 54, 170);
/* oklch */ color: oklch(41.5% 0.179 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ec4',
    500: '#3836aa',
    950: '#000000',
  },
}
SCSS
$custom: #3836aa;
$custom-light: #7e6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3836aa",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 241.034,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.1793,
    "h": 276
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#3836AA
secondary
#C0C17B
accent
#DB4DD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3836AA

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

Preview Lab → · Contrast checker → · Palette generator →

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