#3A36C5#3A36C5

#3A36C5 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.213 H 274.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3A36C5
RGBrgb(58, 54, 197)
HSLhsl(242, 57%, 49%)
HSVhsv(242, 73%, 77%)
CMYKcmyk(70.6%, 72.6%, 0%, 22.7%)
CIE-LABlab(33.07, 47.04, -73.30)
CIE-LCHlch(33.07, 87.10, 302.69°)
OKLaboklab(44.3% 0.017 -0.2119)
OKLCHoklch(44.3% 0.213 274.6)
XYZxyz(13.1388, 7.5678, 53.5808)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36C5 #C1C536
analogous
#367AC5 #3A36C5 #8236C5
triadic
#3A36C5 #C53A36 #36C53A
tetradic
#3A36C5 #C5367A #C1C536 #36C582
square
#3A36C5 #C5367A #C1C536 #36C582
split-complementary
#3A36C5 #C58236 #7AC536
monochromatic
#1E1C65 #2C2995 #3A36C5 #6764D4 #9694E2

Accessibility & contrast

On white

8.35
#3A36C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A36C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36C5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36C5#FFFFFF#000000##FFFFFF
##3A36C51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a36c5;
/* rgb */ color: rgb(58, 54, 197);
/* oklch */ color: oklch(44.3% 0.213 274.6);
Tailwind
colors: {
  custom: {
    50: '#846fd8',
    500: '#3a36c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a36c5;
$custom-light: #846fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36c5",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 241.678,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.21263,
    "h": 274.6
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#3A36C5
secondary
#CBCD8A
accent
#E048DC
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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