#3A36C7#3A36C7

#3A36C7 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.215 H 274.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3A36C7
RGBrgb(58, 54, 199)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 73%, 78%)
CMYKcmyk(70.9%, 72.9%, 0%, 22%)
CIE-LABlab(33.26, 47.69, -74.14)
CIE-LCHlch(33.26, 88.15, 302.75°)
OKLaboklab(44.5% 0.0167 -0.2144)
OKLCHoklch(44.5% 0.215 274.4)
XYZxyz(13.3695, 7.6601, 54.7957)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36C7 #C3C736
analogous
#367BC7 #3A36C7 #8236C7
triadic
#3A36C7 #C73A36 #36C73A
tetradic
#3A36C7 #C7367B #C3C736 #36C782
square
#3A36C7 #C7367B #C3C736 #36C782
split-complementary
#3A36C7 #C78236 #7BC736
monochromatic
#1E1C67 #2C2997 #3A36C7 #6865D5 #9795E2

Accessibility & contrast

On white

8.29
#3A36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A36C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36C7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36C7#FFFFFF#000000##FFFFFF
##3A36C71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a36c7;
/* rgb */ color: rgb(58, 54, 199);
/* oklch */ color: oklch(44.5% 0.215 274.4);
Tailwind
colors: {
  custom: {
    50: '#856fd9',
    500: '#3a36c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a36c7;
$custom-light: #856fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36c7",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 241.655,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.21506,
    "h": 274.4
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#3A36C7
secondary
#CCCE8B
accent
#E147DC
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A36C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3A36C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva