#3936A4#3936A4

#3936A4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.171 H 276.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3936A4
RGBrgb(57, 54, 164)
HSLhsl(242, 50%, 43%)
HSVhsv(242, 67%, 64%)
CMYKcmyk(65.2%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.88, 35.94, -58.93)
CIE-LCHlch(29.88, 69.02, 301.37°)
OKLaboklab(41.05% 0.0207 -0.17)
OKLCHoklch(41.05% 0.171 276.9)
XYZxyz(9.7052, 6.1877, 35.7977)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3936A4 #A1A436
analogous
#366AA4 #3936A4 #7036A4
triadic
#3936A4 #A43936 #36A439
tetradic
#3936A4 #A4366A #A1A436 #36A470
square
#3936A4 #A4366A #A1A436 #36A470
split-complementary
#3936A4 #A47036 #6AA436
monochromatic
#191848 #292776 #3936A4 #5551C6 #827FD5

Accessibility & contrast

On white

9.38
#3936A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3936A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3936A4
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3936A4#FFFFFF#000000##FFFFFF
##3936A41.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3936a4;
/* rgb */ color: rgb(57, 54, 164);
/* oklch */ color: oklch(41.0% 0.171 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ec0',
    500: '#3936a4',
    950: '#000000',
  },
}
SCSS
$custom: #3936a4;
$custom-light: #7d6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#3936a4",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 241.636,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.17123,
    "h": 276.9
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#3936A4
secondary
#BCBE78
accent
#DA4ED6
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3936A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3936A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva