#3A36CA#3A36CA

#3A36CA is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.219 H 274.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A36CA
RGBrgb(58, 54, 202)
HSLhsl(242, 58%, 50%)
HSVhsv(242, 73%, 79%)
CMYKcmyk(71.3%, 73.3%, 0%, 20.8%)
CIE-LABlab(33.56, 48.65, -75.40)
CIE-LCHlch(33.56, 89.74, 302.83°)
OKLaboklab(44.81% 0.0161 -0.2181)
OKLCHoklch(44.81% 0.219 274.2)
XYZxyz(13.7212, 7.8008, 56.6482)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36CA #C6CA36
analogous
#367CCA #3A36CA #8436CA
triadic
#3A36CA #CA3A36 #36CA3A
tetradic
#3A36CA #CA367C #C6CA36 #36CA84
square
#3A36CA #CA367C #C6CA36 #36CA84
split-complementary
#3A36CA #CA8436 #7CCA36
monochromatic
#1E1C6A #2C299A #3A36CA #6966D7 #9997E4

Accessibility & contrast

On white

8.20
#3A36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36CA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36CA#FFFFFF#000000##FFFFFF
##3A36CA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a36ca;
/* rgb */ color: rgb(58, 54, 202);
/* oklch */ color: oklch(44.8% 0.219 274.2);
Tailwind
colors: {
  custom: {
    50: '#856fdb',
    500: '#3a36ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a36ca;
$custom-light: #856fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36ca",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 241.622,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.21867,
    "h": 274.2
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#3A36CA
secondary
#CDCF8D
accent
#E146DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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