#3A36D9#3A36D9

#3A36D9 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.236 H 273.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A36D9
RGBrgb(58, 54, 217)
HSLhsl(241, 68%, 53%)
HSVhsv(241, 75%, 85%)
CMYKcmyk(73.3%, 75.1%, 0%, 14.9%)
CIE-LABlab(35.10, 53.43, -81.56)
CIE-LCHlch(35.10, 97.50, 303.23°)
OKLaboklab(46.34% 0.0133 -0.236)
OKLCHoklch(46.34% 0.236 273.2)
XYZxyz(15.5843, 8.5460, 66.4604)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36D9 #D5D936
analogous
#3684D9 #3A36D9 #8B36D9
triadic
#3A36D9 #D93A36 #36D93A
tetradic
#3A36D9 #D93684 #D5D936 #36D98B
square
#3A36D9 #D93684 #D5D936 #36D98B
split-complementary
#3A36D9 #D98B36 #84D936
monochromatic
#1A187D #2521B0 #3A36D9 #6C69E3 #9F9DEC

Accessibility & contrast

On white

7.75
#3A36D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A36D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36D9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36D9#FFFFFF#000000##FFFFFF
##3A36D91.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADE
Deuteranopia (green-blind)
#004BD6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a36d9;
/* rgb */ color: rgb(58, 54, 217);
/* oklch */ color: oklch(46.3% 0.236 273.2);
Tailwind
colors: {
  custom: {
    50: '#8970e6',
    500: '#3a36d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a36d9;
$custom-light: #8970e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36d9",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 241.472,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.23637,
    "h": 273.2
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#3A36D9
secondary
#D7D992
accent
#EB3DE7
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A36D9

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

Preview Lab → · Contrast checker → · Palette generator →

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