#3836B7#3836B7

#3836B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.196 H 274.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3836B7
RGBrgb(56, 54, 183)
HSLhsl(241, 54%, 46%)
HSVhsv(241, 70%, 72%)
CMYKcmyk(69.4%, 70.5%, 0%, 28.2%)
CIE-LABlab(31.57, 42.21, -67.52)
CIE-LCHlch(31.57, 79.63, 302.01°)
OKLaboklab(42.79% 0.0169 -0.1951)
OKLCHoklch(42.79% 0.196 274.9)
XYZxyz(11.4945, 6.8969, 45.5160)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3836B7 #B5B736
analogous
#3675B7 #3836B7 #7936B7
triadic
#3836B7 #B73836 #36B738
tetradic
#3836B7 #B73675 #B5B736 #36B779
square
#3836B7 #B73675 #B5B736 #36B779
split-complementary
#3836B7 #B77936 #75B736
monochromatic
#1B1A58 #2A2888 #3836B7 #5D5BCF #8C8BDD

Accessibility & contrast

On white

8.83
#3836B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3836B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3836B7#FFFFFF#000000##FFFFFF
##3836B71.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3836b7;
/* rgb */ color: rgb(56, 54, 183);
/* oklch */ color: oklch(42.8% 0.196 274.9);
Tailwind
colors: {
  custom: {
    50: '#806ece',
    500: '#3836b7',
    950: '#000000',
  },
}
SCSS
$custom: #3836b7;
$custom-light: #806ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3836b7",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 240.93,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.19587,
    "h": 274.9
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#3836B7
secondary
#C6C782
accent
#DE4ADB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3836B7

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

Preview Lab → · Contrast checker → · Palette generator →

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