#3A36B6#3A36B6

#3A36B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.194 H 275.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3A36B6
RGBrgb(58, 54, 182)
HSLhsl(242, 54%, 46%)
HSVhsv(242, 70%, 71%)
CMYKcmyk(68.1%, 70.3%, 0%, 28.6%)
CIE-LABlab(31.61, 42.12, -66.86)
CIE-LCHlch(31.61, 79.02, 302.21°)
OKLaboklab(42.82% 0.0195 -0.1931)
OKLCHoklch(42.82% 0.194 275.8)
XYZxyz(11.5048, 6.9142, 44.9752)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36B6 #B2B636
analogous
#3672B6 #3A36B6 #7A36B6
triadic
#3A36B6 #B63A36 #36B63A
tetradic
#3A36B6 #B63672 #B2B636 #36B67A
square
#3A36B6 #B63672 #B2B636 #36B67A
split-complementary
#3A36B6 #B67A36 #72B636
monochromatic
#1C1A58 #2B2887 #3A36B6 #5F5BCE #8D8ADC

Accessibility & contrast

On white

8.81
#3A36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A36B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36B6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36B6#FFFFFF#000000##FFFFFF
##3A36B61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a36b6;
/* rgb */ color: rgb(58, 54, 182);
/* oklch */ color: oklch(42.8% 0.194 275.8);
Tailwind
colors: {
  custom: {
    50: '#816ecd',
    500: '#3a36b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a36b6;
$custom-light: #816ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36b6",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 241.875,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.19413,
    "h": 275.8
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#3A36B6
secondary
#C4C681
accent
#DE4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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